Use classList API

A small change to replace the use of a regex in addClass, removeClass and hasClass in favor of the native classList API.

Tested with the kitchen sink and all seems fine in the browsers I have access to.

http://caniuse.com/#feat=classlist