Add grunt-karma to dependencies
Add karma tests for the build