demo import fix and package.json in Gruntfile

Signed-off-by: Adrian-Tudor Panescu <adrian@panescu.com>
Testing additions

* consoleLogger now returns true on logging success, false otherwise;
* More unit tests for global dictionaries and consoleLogger;
* Grunt will run demo.js.

Signed-off-by: Adrian-Tudor Panescu <adrian@panescu.com>