[893] Allow passing the engine to engine_is_pg and engine_is_sqlite so that can do the checks even if ckan uses a db which is different from the one the datastore uses
Merge branch '893-datastore-postgres-checks-fail-if-different-dbs'