Fall in with the postgres environment variables

This should allow switching between a production and dev server to be smooth.

Just export PGHOST/PGDATA/PGPORT/PGUSER/PGDATABASE as appropriate.
pg_vars reads what you've set and fills in what you haven't to point to the local server.

init.sh only spawns a server if it doesn't find one already, so that you can init a preexisting db