Adds karma-jasmine and karma-phantomjs-launcher packages, which are required for running the tests locally, as well as karma-firefox-launcher and karma-chrome-launcher for travis and debug builds, respectively.