Linking asset to device

Changed linking mechanism (*handle_device_linkage*).
Moved signal into asset save.
Added tests.
Fixed saving *device_info* in  *_update_device_info* .

@quamilek @ar4s 
I little confused about name this method.. IMHO can_* method should return only boolean value.