check for MONGODB_URL if USE_ENV or HEROKU is set
Merge pull request #542 from Stackato-Apps/master

check for MONGODB_URL if USE_ENV or HEROKU is set