Allow for using a different database than postgresql.

Though currently only the postgresql class is included in this module.
Merge pull request #9 from jasperla/db_type

Allow for using a different database than postgresql.