KnowledgeManagerContainer implementation + tests.
Slight modifications to KnowledgeManagerContainer related classes.