Card online_runtime_266 - Support for JAVA_HOME

* Refactor JBossAS for process-version action
* Refactor JBossEAP for process-version action
Merge pull request #2299 from jwhonce/wip/cartridge_path

Merged by openshift-bot