Simple database logging module

Uses postgresql HSTORE and sqlalchemy + alembic for migrations