fix(jqLite): fix add/remove class in IE9

IE is not my favorite web browser.

this is my take on #5694 
what we're really testing here is that the element is a DOM node --- IE9 has `setAttribute` (since IE8 actually) so under what conditions do we not have this?