Add support for this references to the TestCase object

JsTestDriver allows you to add properties and helper methods on the TestCase object. It's probably better to have an IIFE around each TestCase to create a local scope, but we have quite a few legacy tests that reference ```this``` and expect it to be the TestCase object.