Setup of grunt.js

- build using grunt.js
- small fixes identified with jshint
- prepare usage of jasmine for test automation

Probably not ready to merge as it seems master changed in the meantime and I need to first merge your changes.