Configure Travis to run tests with Karma

* Avoid `rake ci:travis:prepare` (i.e. loading Rails environment and
  database creation) on JS/Karma test runs.
* Equally, avoid installation of all npm packages on Rails test runs.

Signed-off-by: Alex Coles <alex@alexbcoles.com>