WIP Cartridge Refactor - rhcsh support of v2 applications

* Refactor rhcsh to make v2 cartridges fully supported
Merge pull request #1898 from jwhonce/wip/rhcsh

Merged by openshift-bot