Minor OntologyFactory refactorization. Last changes broke a little the logic behind it and this had to be moved to the LightInject container.