ivaynberg/select2 — pull request #373 by tzarger (2012-09-03 23:37:27+00:00)
Title: Fix for ValidationEngine & hiding errors on change.

Copying class attribute to container causes and issue with the JQuery
ValidationEngine. In order to prevent double validation, a
simple regex replace call to copy all but the actual validation[] class.

Also, added a blurOnChange default setting, to allow people to trigger
and blur() event in case of using JQuery ValidationEngine in order to
immediately hide the validation error message when selecting an option.