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
Fixed fatal errors when AQL statement returns a non-array that cannot be
turned into a document.
Fixed cursor sanitize for PHP 5.3 compatibility.
Fixed PHP 5.3 compatibility fix.
Merge pull request #79 from F21/Fix_statement_non_array_results

Fixed fatal errors when AQL statement returns a non-array that cannot be turned into a document.
Merge pull request #78 from F21/update_revision_on_save

Update revision of document objects on save