extend the couchdb doc api
 - open_doc
 - save_doc
 - save_doc_post
 - lookup_doc_rev
 - delete_doc
 - copy_doc
 - put_attachment
 - fetch_attachment