Update cssassist.js

corrected behavior of hasClass() - no params
tests that there are no classes on the node