Add hasClass method
Merge pull request #205 from thejameskyle/hasClass

Add hasClass method