Minor improvements.

+ Cleaned up the Scanner code a little bit.
+ Accelerated the test cases.
Exposed dependencies.

So they can be checked at runtime.
Moved creatartis-base dependency.

NPM duplicates creatartis-base, which causes many problems. For now it
must be installed manually.