listening for an 'invalid' event on the observed model and setting errors when the invalid exception applies to the observed content
moved invalid event listener into a method in the Backbone.UI.HasError mixin
all UI elements that mixin HasError tested for validation - see sandbox/validate.html
updating tests to support HasError code
merge with master
merge fix
merge validation to nojquery
only assign values to input.attribute if option exists