Bug 966462 - Support V1 and V2 cartridge formats

* Updated to use either OPENSHIFT_DIY_IP or OPENSHIFT_INTERNAL_IP
* Updated to use either OPENSHIFT_DIY_PORT or 8080
* Updated to use correct logs path