Using PostgreSQL instead of Sqlite, also improved configuration

All app-specific configuration is being read from
an env.yaml file which is not added to source control.

The config.py file parses the env.yaml file, and copies
all configuration values to os.environ.