Feature preparing for heroku

Changes:
- Server set up to use configuration variables if on Heroku. While off Heroku, it still uses the keys from the secret keys file.
- On Heroku, the app should connect to the Heroku Postgres DB rather than my local mySQL DB.