Update karma.conf.js

Rewrite Karma config file to what Karma expects. Should fix issue #42. Default settings should be exactly the same.