refact(jqLite.js): use classList if available in the hasClass method

Should speed up the code. At first I tried to rewrite the other class methods aswell, but things go mad when no class attribute is set. Maybe refactor this also later.

http://jsperf.com/jqlite-class-methods-vs-classlist