Adding the latest commits from the downloadable cartridge repository

- Applying the latest commits from the downloadable cartridge repository (https://github.com/aerogear/openshift-origin-cartridge-aerogear-push).

- Also incorporating recent jbossas cartridge changes.