Move karma.conf.js to the test directory

So that node will not try to install it when adding the library.