Refactored OWLOntology implementation to move imports logic out

This uses lambdas to refactor all the imports closure treatment to
the Imports enum. This opens the door to dropping all Imports parameters
and related methods and just pass the ontology method to be applied