Restrict the deletion of device properties
Now it is no longer possible to delete device properties with associated calibrations.
Also we changed the return code if we try to delete a device property that is linked to a datastream.
Closes #190 (closed)