Add separate npm Karma script, invoked by npm test

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #2113 from opf/fix/add-npm-run-karma

Add separate npm Karma script, invoked by npm test