Added environment variable tracking for database.

The server now also checks the environment variables for a database
username and database password, as well as a port for future use with
Heroku.
Added dependencies for use with Heroku.