Added HEROKU database configuration support.