Add karma phantomjs launcher and use it for tests.