Bug 918339 - Remove unnecessary lambda and conditionalize at_exit registration.
WIP Cartridge Refactor - Cartridge Repository

* Initial load + tests
* Add MCollective cartridge_repository_action: install/erase/list
* support new cartridge CRUD
fix bug919379
Merge pull request #1585 from nhr/BZ918339

Merged by openshift-bot
Merge pull request #1604 from jwhonce/wip/cartridge_repository

Merged by openshift-bot
Merge pull request #1605 from rajatchopra/master

fix bug919379 - clear-pending-ops marks delete_app op