Remove the id and rev field from the document itself, it's a metadata
Some cleanups
Emit the request event in couchdb
support the request event in mongodb
Support the request event for the memory backsync