Add Heroku database url variable

Heroku will set a environment variable called DATABASE_URL, which is
where an app will find the database it's supposed to connect to. This
will not be valid outside of the production environment, so if this
variable hasn't been set, it will default to the hard-coded url.