Add separate npm Karma script, invoked by npm test

This change is so our internal CI can run Karma tests using `npm run karma` consistently for both 4.x releases und dev.