Add Karma test runner with basic configuration

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Document Karma runner in RUNNING_TESTS

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge branch 'dev-angular' into feature/angular-karma-test-runner
Add ng service sources to Karma file config

See c3880c5e.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Configure 'npm test' to run Mocha tests with Karma

Run tests Karma with both Firefox and PhantomJS.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Elaborate on Browser choice in RUNNING_TESTS

Signed-off-by: Alex Coles <alex@alexbcoles.com>
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>
Revert "Add Rake task wrapper to run Mocha/PhantomJS tests"

Reverting in favour of using Karma test runner.

This reverts commit 457b08beb8167881da0a110f623c46fa4121e09d.
Fix flag passed to bower install in Travis config

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #1096 from opf/feature/angular-karma-test-runner

Karma Test Runner