Cosm: cleans up code in WebInterface and KnowledgeNode

* whitespaces
* long lines
* imports
Fix: fixes #26

* adds web resources to _MANIFEST.in_
* replaces `__path__` references with `pkg_resources` API calls
Merge pull request #28 from aheld84/master

Fixes #26