The config file was never a good idea, instead pass in db user and
required extensions as params. Also adds more connection params and a
test that the Postgres server can be connected to before unleashing the
query maelstrom.