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
<Extended Tests> Cartridge Extended Test fixes

- Test all supported versions of python
- Consolidate jbossews tests.
Bug 1068891 - Remove redundant call to date
fix php upgrade version
Fix Bug 1070059 - Incorrect git command info listed in perl default home page
added \ before $
Merge pull request #4828 from detiber/CartridgeExtended

Merged by openshift-bot
Card origin_node_39 - Fix unit test
Bug 1070168 - Handle equal cart names different from equal cart name and version
Merge pull request #4830 from jwhonce/bug/1068891

Merged by openshift-bot
Merge pull request #4831 from VojtechVitek/php_upgrade_fix

Merged by openshift-bot
Merge pull request #4832 from sg00dwin/incorrect-git-command-perl-start-page

Merged by openshift-bot
Merge pull request #4829 from jwhonce/origin_node_39

Merged by openshift-bot
Multiple fixes for stability
 - Adding option to prevent rollback in case of successful execution of a destructive operation that is not reversible (deleting gear or deconfiguring cartridge on the node)
 - Checking for the existence of the application after obtaining the lock
 - Reloading the application after acquiring the lock to reflect any changes made by the previous operation holding the lock
 - Using regular run_jobs code in clear-pending-ops script
 - Handling DocumentNotFound exception in clear-pending-ops script if the application is deleted
Merge pull request #4833 from danmcp/master

Merged by openshift-bot
Merge pull request #4806 from abhgupta/abhgupta-dev

Merged by openshift-bot
Fixing tests
Merge pull request #4836 from danmcp/master

Merged by openshift-bot