KnowledgeManager implementation.
Not all methods have been implemented yet.
Merge pull request #70 from mkit/newgen

KnowledgeManager implementation - not all implemented yet.

Futher it would be good to:
- test it on a bit deper knowledge structures
- see (test) what happens when initial knowledge object is null