Gruntfile for automated minifying/testing added

Tasks for jshint, uglify and jasmine. Also a minimal package.json for
the grunt dependencies.