framework/config: fix deserialization
framework/config: fix deserialization

- RebootPolicy: correctly handle being passed another instance of
  RebootPolicy on creation; this a requirement for it to be usable as a
  ConfigurationPoint kind.
- RebootPolicy: move static method to above __init__ (consistency).
- RunConfiguration: handle deserialization of 'device_config' entry.
- RunConfiguration: move static method to above __init__ (consistency).

lisatn/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,ARM-software/workload-automation,lisatn/workload-automation,setrofim/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,ARM-software/workload-automation,lisatn/workload-automation,lisatn/workload-automation,setrofim/workload-automation