Set database settings using environmental variables

I found I would like this feature when messing with pgweb.

Fixes #41