Initial attempt at bi-directional replication from PouchDB to a CouchDB server.