Update #new_document to follow OrientDB-Jruby API.