Set the Postgres application name when connecting

This should improve the logging and help identify queries and
connections coming from this app.
Merge pull request #5 from travis-ci/hh-name-pg-connection

Set the Postgres application name when connecting