Mass change: switch to classes

While this module-that-you-call-with-dependencies style of structuring
code works well for singleton-like objects, it still doesn’t feel quite
right: it’d be counterintuitive to most developers, and is unusual
without a good reason.

So I’m switching to plain-old-instantiable-with-new JS classes.
.jshint: lil cleanup

Removed garbage from the old codebase.
Registration form

There is the RegistrationFormController that decides when to show
validation error messages, and later will probably submit the form.

There is the Angular directive that renders the HTML template and
binds the RegistrationFormController to the actual form.

OTHER CHANGES

Render the templates in the test runner too. This is needed to render
the directives.