[BUGFIX beta] Fixes test suite failures relating to QUnitAdapter

Replace start() and window.start() with QUnit.start()
Replace stop() and window.stop() with QUnit.stop()
Remove start and stop from globals
Merge pull request #4669 from mfeckie/qunit-window-fix

[BUGFIX beta] Fixes test suite failures relating to QUnitAdapter