Restructured the commit workflow: moved all the traversal methods from OntologyObject to PersistentObject.
Need to test it thoroughly.