change context of a view's render() to the view
changed 'this' in DOM event handlers to the view
added testing for the View class