Fix __hasClass method for correctly validating

Previous validate return true even when element.className="someclass" and class_name="some".
I used concatenation with whitespace instead of RegExp specifically cuz RegExp work a little slower (peeped in jq ;)
Merge pull request #1 from fliptheweb/patch-1

Fix __hasClass method for correctly validating