Couple of changes to maintain compatibility with current OpenShift.
- $OPENSHIFT_GEAR_DIR is not anymore an environment variable (https://openshift.redhat.com/community/page/openshift-environment-variables)
- now Django-1.4. initial_data.json changed