ralph_device_id gets cleaned when device linked to it gets deleted.
Merge pull request #49 from xor-xor/t1376

ralph_device_id gets cleaned when device linked to it gets deleted.