Improved default settings

Added check to turn DEBUG to False for Openshift production environment, but True for development environment.