Fix test

fix the dependencies.

gulp-karma requires karma-mocha and the browser runners, I guess what basically `gulp-karma` is that it's just an interface for gulp to karma, it still requires you to add the dependencies.

Changed the `npm test` script to run a gulp task which I introduced in this PR as well. basically we now have another karma config file for just running tests in travis, and there is a special task for that in gulp as well.