Specify port and encoding for database

Useful for when postgres port isn't on the default port, like is the case with Heroku's postgres service.