enabled replication and querying of pouchdb instance with couchdb master.