Postgres with Google OAuth support

Implements PostgresDB for automatic saving and refreshing of Google OAuth access tokens for a particular widget.