Patches jasmine.js to support beforeAll() and afterAll() hooks.