origin_runtime_293 - tune JBoss cartridges to use OPENSHIFT_GEAR_MEMORY_MB

Updated JBoss cartridges to use OPENSHIFT_GEAR_MEMORY_MB for memory calculations