fix($sce): use msie instead of $document[0].documentMode

this is important so that people can mock $window without having to add stuff that angular uses internally into it

Closes #9661
refactor(ngScenario): remove redundant msie variable
refactor(Angular): removed redundant test