Fixes 357 duplicate axioms saving in OWL functional syntax.

The object renderer was not skipping already written out axioms
properly.

Added the ability to write declarations first, so all declarations
appear before the entities are used.