perf(jqLite): use classList for add/removeClass

Continuation of #7759
Using `classList.apply` caused problems in IE 10/11.

I believe we still want these changes for performance, but not yet.
So keeping them here for being considered later.