Card origin_node_39 - Introduce GearStatePlugin

* Attempt to have Watchman enforce applications' status matching state
* Add logger to WatchmanPlugin, allowing plugins to log to platform logs
* Add timeouts to all spawn calls
* Update API's to support event compression on restart, stop and idle
* Update man page
* Update tests
Card origin_node_39 - Fix unit test
Merge pull request #4829 from jwhonce/origin_node_39

Merged by openshift-bot