* Created `conditionalOrderBy` filter with a similar signature to `orderBy`,
using a single conditional argument that when false, causes the filter to
return the array unchanged
* Updated task view to use `conditionalOrderBy`
* Added karma specs for `conditionalOrderBy` filter
* Switch the "Play" button to check for "Play HabitRPG"
* Change "#register-tab" selector to use "#registrationForm"
* Increase delay when only running protractor specs, to ensure the server has
time to spin up
* Added build:test task to generate translation JS for tests.
* Removed test/spec/translations.js from the repository, added to .gitignore.
* Updated test/run_tests.sh to run build:test, and accept an optional argument
to run a particular test suite.
* Stubbed out User module to repair rootCtrlSpec
* Loaded RootCtrl in inventoryCtrlSpec, as it was missing shared functions.
Updated mock user to include a mounts hash.
As it turns out, the page reload behavior was not caused by $resource, but
exists somewhere within the User module. Stubbed out the User module as as done
in notificationServicesSpec
* Added a task to Gruntfile to use website/src/i18n.js to generate a small JS file to be loaded in Karma env which sets window.env.translations to the i18n.translations['en'].
* Added new Grunt task to build:dev
* Updated Karma specs to reenable testing where possible, updating comments where not.
* Repair broken e2e test introduced in 8d03cfc (copywriting change was not
reflected in the spec)
* Updated i18n.coffee code to be more cautious (it expected the 'en' locale
would always be available, but provides appropriate error handling as-is).
* Extended timeout duration for protractor, as registration was slightly above
30s.
* Added karma-mocha-reporter as a dev dependency to ensure test visibility.