Updating and replacing documents, edges and vertices will now also
update the revision of the document object.
Fixed update revision for graphs.
Formatting
Fixed test
Merge pull request #78 from F21/update_revision_on_save

Update revision of document objects on save