Add Document.modify() method

It performs an atomic update of the document in the database and reloads the document object using updated version.

Returns True if the document has been updated or False if the document in the database doesn't match the query.