Implement rev querystring parameter for the doc.rm command in the
couchdb module.