Update client-info only on final state

- change final state of physical devices to DEVICE_READY
- Resolve workers dependencies before marking (in order to apply changes on children too)
- clean origin and UUID on ifdown