added component to delete from CouchDB

I added a useful function to delete from couchdb