merged/updated beforeAll/afterAll implementation into Jasmine 1.3.1