#5001: Fixes jqLite not correctly adding & removing classes in IE9

This is a condensed version of [#5669](https://github.com/angular/angular.js/pull/5669) that does not break the tests.