Card origin_node_39 - Have Watchman attempt honor state of gear

* Improve Watchman plugin contract
* Add protection for flapping
* Update tests
add retry logic for deployment scan check
Fix output from decode_connections

Strip off "|$app_uuid|$gear_uuid" from the end of all types of
connections (including TOHTTPS etc), not just from connections without
modifiers.
Recalc tracked storage

Create separate op group for recalculating tracked storage

Skip unecessary usage operations when recalculating

Allow telling the trackusageop the max untracked storage amount
Exit if error occurs changing untracked storage
Merge pull request #4792 from bparees/deploymentscan_retry

Merged by openshift-bot
Merge pull request #4723 from liggitt/recalc_tracked_usage

Merged by openshift-bot
Bug 1067031 - Do not include old versions of carts in latest carts just because they have a unique software version
Merge pull request #4804 from danmcp/dev/bug1067031

Merged by openshift-bot
Merge pull request #4798 from ncdc/master

Merged by openshift-bot
Bug 1067345 - Make *all commands honor stop_lock

* The *restartall commands didn't honor stop_lock originally to
    support Online Ops usage. They no longer require the specialized
    behavior.
* Refactor to efficiently use ApplicationContainer
Adding Trello
Merge pull request #4776 from jwhonce/origin_node_39

Merged by openshift-bot
Merge pull request #4807 from jwhonce/bug/1067345

Merged by openshift-bot
Cleaning up comments
Merge pull request #4808 from danmcp/master

Merged by openshift-bot
Better comments
Merge pull request #4809 from danmcp/master

Merged by openshift-bot