on-change and auto-save functions added.

Convienience functions for tawny.repl which allow a function
to be called on every ontology change, or to save the ontology.