Adding Karma and Travis CI

Chrome is going to be added later.

See https://github.com/karma-runner/karma/issues/1144