added support for multiple css classes on selectboxes

Most forms are css styled so select boxes can have any number of css
classes.
Replaced class equality with jQuery's hasClass.
Merge pull request #3 from bcostea/master

Fix for select input boxes that are styled