Card online_runtime_266 - Support for JAVA_HOME

* Refactor JBossAS for process-version action
* Refactor JBossEAP for process-version action