replace sqlite3 with postgres in all environments and travis-ci

use PostgreSQL as the default database