added couchdb DELETE functionality