cdbDeleteDoc function

Deletes a document from a database