update(build): changes to support debugging tests and karam 0.12 API

API 0.12 now uses `module.export = function(config) {...}` in karma.conf.js
Interactive debugging of karma tests now supported in WebStorm.