Updates to some core classes, adding tests with jasmine.
Updates to BaseView, CollectionView, ModelEditView, ModelView, tests for
the same (except BaseView, currently tested indirectly through
inheriting classes).