refactored CouchDBDatastore creation and deleteDocument method now receive a CouchDbDocument as a parameter