remove unnecessary todo comment
use flag to indicate whether the status manager is active or not as an extra
verification to proceed with event handling
reorganization of shutdown dispatch including publication of DeviceStatusEvent with sub_type="device_failed_command" in case of a child failing to complete the command or failing to terminate. This case serves as a basis to follow similart pattern for other commands and transitions (TBD). Shutdown and terminate are handled child by child. Also, in the case of instruments, it is first checked that the instrument is not already in UNINITIALIZED to proceed with RESET.
fix typo: self._bring_to_uninitialized_state should be called  with
recursion=False for quit sequence.
add publications of "device_failed_command" events in all relevant
operations; general re-organization of PA code; handle reception of
"device_failed_command" event (but nothing done at the moment)
merge upstream/master
include entry 'is_on' for each reported port in get_ports
merge upstream/master
Merge pull request #978 from carueda/platform_agent_R2C4

publish "device_failed_command" events in all relevant orchestration when children fail to complete cmd