Support osmosis pgsnapshot schema as database backend

replaces #15