Adding DELETE tests

Cleans up and improves testDeleteDocument

Adds testUpdateDeleteUpdateOldRev

Adds testGetAllDocsDoesntFindDeletedDocs

Adds testDeleteNonExistingDoc

Uses proper placeholders in FMDatabase executeQueries