Support specifying the database host

Also cite the usage of .pgpass
Add db_host to configuration used by tests
Merge branch 'database-host'