fixup! Move `npm test` script to Gruntfile

Add grunt-mocha-test, configure it to run unit-tests.

Add `grunt test` task that runs both karma and mocha tests,
detects Jenkins to produce XML output on CI server.