Karma: use PhantomJS instead of Chrome

Chrome cannot be specified as a dependency and installed automatically,
but PhantomJS can. Most Linux distros use Chromium instead of Chrome, which Karma
does not recognize.