Adds karma.conf.js file to support the Karma testrunner.