added preliminary (simple) dependency resolution

Activators are sorted when they have dependencies on ontologies.
Currently does not resolve circular dependencies.