just log a warning if the stop of a subscriber fails (some subclass could have stopped the subscriber explicitly)
developer convenience: avoid publishing the external events if env variable NO_OMS_NOTIFICATIONS is defined
OOIION-1077: core functionality implemented. Includes new integration test: test_platform_status_terminate_and_restart_instrument_1_1
merge upstream/master
OOIION-1077: also handle sub-platform case when receiving a ProcessLifecycleEvent RUNNING event (note: no test case yet for this).
merge upstream/master
complete fix to OOIION-1077
merge upstream/master
Merge pull request #1200 from carueda/platform_agent_OOIION-1077

fix OOIION-1077