change postgres ext to database ext.

as we use sqlalchemy to interact with database, it already have general
database support.
polaris_config.py for default config filename