Avoid FSM refreshes and unsolicited state updates (bnc#876848, bnc#880664)

Solution to: Bug 876848 - [Upgrade] Network configuration 'dhcp' has no effect
Solution to: Bug 880664 - wickedd crashed with 'assertion failed'

-    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
-    disable unused-function warning in ifdown.c
-    introduce FSM state type and share with wickedd