REFACTOR allow to use postgres

Add postgres support for tests.

Later, all major databases will be supported through travis, but let
just add environement switches for issue at hand with postgres.

Needed for #15
Merge pull request #17 from oelmekki/allow_postgres_usage

REFACTOR allow to use postgres