Improved repo layout.

+ Added git files.
+ Setup of the build process with Grunt, with sourcemaps and
minification (using UglifyJS).
+ Fixed code which was not compiling.
+ Added MIT license.