refactor currentSpec to work for Jasmine 2

Addresses #5632

https://github.com/angular/angular.js/issues/5632