Allow deletion of bare documents
Allow deletion of bare documents

If we have don't have a document as a Document object but as a raw
dict (e.g. as a result from a view), convert is to a Document in
delete(). This allows us to call delete() for a raw dict, just like we
can do with set().

inoi/trombi