IE detection fix

Updated the $utilityService.ieVersion function to match the functionality from KO ( https://github.com/knockout/knockout/blob/master/src/utils.js ). This fixes the IE detection.

The existing version is broken since the iElems[0] is undefined and the while() body is never executed.