Add support for OpenShift

Added OpenShift hooks to install a custom version of node.js and npm.
 - OpenShift be default installs npm `v1.0.27` which does not support dependencies formatted like `^1.0.0`
 - Source: https://github.com/ramr/nodejs-custom-version-openshift

Fixed a bug in Google authentication where the site url was being taken from the local site instead of the current phase.

Move settings.json to settings.js
 - This is to allow us to access env variables

Updated mongodb and redis connections
 -  Redis clients can now connect to redis servers that require authentication
 - Mongo can connect using either a connection string or username/password.