update test_resource_states to call _start_event_subscriber2 instead of deprecated _start_event_subscriber
remove unused _wait_for_external_event method
remove obsolete _start_event_subscriber, self._async_event_result, self._events_received.
remove unneeded imports
remove unneeded imports
Merge pull request #2190 from carueda/pa_cleanup

Platform agent cleanup