Implement deleteDocumentWithId:error: method

Implement missing API method deleteDocumentWithId:error which deletes all leaf nodes for a document tree for the given doc ID
Remove deperecated flag

Remove deprecated flag for deleteDocumentWithId:rev:error: this method is needed internally for deleting leaf nodes in deleteDocumentWithId:error
Remove comment which did not match code

Removed comment which was meant for thinking though the logic of validating document interals
Change $dict to new syntax

Change $dict macro to new(ish) @{…} syntax
Make method declaration clearer

Add new line before start of method declaration for initWithTdRevision:andAttachments: and line break before second parameter
Change mutableCopy method return type

Change mutableCopy return type from id to CDTMutableDocumentRevision
Add comment explaining property removal

Add comment explaining why properties are being removed from TD_Body properties
Remove unneeded ivars and whitespace

Remove _attachments and _body iVars which were replaced with private_body and private_attachments properties
Collapse whitespace between @synthesize commands and revision method
Port missed tests

Port tests that were missed during the initial port
Remove commented out code

Remove commented out code which was a remnant from DatastoreCRUD.m