add system status checks between module execution

Implemented a mechanism to check system status between CTS module
execution.

- the list of checkers is controlled by an XML config.
- additional checkers can be added by extending SystemStatusChcker
  class and added to the config
- optionally the checkers can be disabled or white/blacklisted
- included an implementation of network connectivity check in
  replacement of existing hardwired connectivity check function.

Bug: 29583180
Change-Id: Iab8dce493ef454fc297633c40244f96cdd01fb33
5 files changed