Kernel helper

* Added support to use the console as a .phar file (in an attempt to fix #27).
* Also modified composer.json file to install it as a module using composer installers. 
* Updated unit tests.