Rollforward of 106435324.
Rollforward of 106435324.

Fix nexttick test for Edge.

NEW: Detecting whether goog.global.setImmediate has been overridden is hard for Edge. The previous approach of looking for "native code" doesn't work when MockClock sets its own impl which also returns "native code" (uses native Fn.bind). Therefore, just always use goog.global.setImmediate in edge. This means Edge will be using the true native implementation in production code, but this is what it was doing before anyway and it appears MS Edge has made improvements since IE10/11.

This also should fix the failures observed in trying to enable edge for Closure tests in CL/104794836.

Automated g4 rollback of changelist 106435324.

*** Reason for rollback ***

Changing the nexttick behavior causes some tests to time out, likely a result of their use of asyncTestCase.

*** Original change description ***

Fix nexttick test. Edge has a native window.setImmediate, but it's not on the prototype.

***
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=106544667

Tinkerforge/tvpl-closure-library,nicks/closure-library,Dominator008/closure-library,platinumpixs/google-closure-library,google/closure-library,ikabirov/closure-library,yathit/closure-library,Medium/closure-library,teppeis/closure-library,teppeis/closure-library,ChadKillingsworth/closure-library,joeltine/closure-library,nicks/closure-library,codyebberson/closure-library,ikabirov/closure-library,ChadKillingsworth/closure-library,teppeis/closure-library,google/closure-library,federkasten/closure-library,Dominator008/closure-library,google/closure-library,ikabirov/closure-library,ikabirov/closure-library,joeltine/closure-library,redforks/closure-library,nicks/closure-library,Tinkerforge/tvpl-closure-library,Dominator008/closure-library,bebbi/closure-library,redforks/closure-library,google/closure-library,lucidsoftware/closure-library,ralic/closure-library,ChadKillingsworth/closure-library,ralic/closure-library,ChadKillingsworth/closure-library,yathit/closure-library,codyebberson/closure-library,bebbi/closure-library,codyebberson/closure-library,Medium/closure-library,federkasten/closure-library,teppeis/closure-library,platinumpixs/google-closure-library,ralic/closure-library,yathit/closure-library,yathit/closure-library,federkasten/closure-library,platinumpixs/google-closure-library,ralic/closure-library,Tinkerforge/tvpl-closure-library,Medium/closure-library,federkasten/closure-library,platinumpixs/google-closure-library,Tinkerforge/tvpl-closure-library,Dominator008/closure-library,joeltine/closure-library,redforks/closure-library,bebbi/closure-library,nicks/closure-library,google/closure-library,joeltine/closure-library,bebbi/closure-library,lucidsoftware/closure-library,codyebberson/closure-library,lucidsoftware/closure-library,Medium/closure-library,lucidsoftware/closure-library,redforks/closure-library