Add the 'error' class to the parent of the validation element.

* Matches Reach's behavior, allowing input fields to have a red border
when the validation fails.
Fix jslint.
Merge pull request #59 from racker/add-error-class-to-validation-element-parent

Add error class to validation element parent