Updated config and handling of Heroku MongoLab env variables.