Tests: mains go first

Main partition for Web UI plugs in the external libraries, which are vital for
all the rest, and having it fail first, makes the failure clearer.
Web UI: test: refactor
ngCookies

I want to be able to preserve the Firebase session on page refresh. We’ll try
to check the firebaseSessionKey cookie.
Utils: assert.isAnObject()
Utils: eventify()
Authentication form: emit events when actions complete

This is for acceptance tests: to be able to know when the action is finished
and do assertions, but without getting intimate with the internals.
Registration form: test: preserve location.hash

This was messing up the test runner’s location.hash.