Single postgres and puppetdb instance working (issue #1)

This does not yet provide high-availability or load-balancing for
PuppetDB.  The next steps would be to configure a second PuppetDB
instance and do load-balancing over both.  Once that works we can
set up a second PostgreSQL instance as a hot-standby and try to
use that for read-only queries.