style(ngMock): fix jshint issues

Split lines that are too long - except in the case of a huge regex,
where the rule is temporarily disabled.
Add expect, beforeEach and afterEach as globals
Use `throw new Error()` rather than `throw Error()`
Use `angular.isUndefined` to test for `undefined`
Add missing semi-colons
Don't redeclare parameters as variables