Unit setting and test mode setting Backbone tweaks

Attaching View, Model, and Collection definitions directly to the `window` object helps to explicitly show that they're in the global namespace.