Add k-valid to controls that have been validated

It would be nice if the validator would apply a k-valid class to controls that it has validated (for instance, if the developer wanted to add a green border around validated controls). This allows a few states: validated, invalidated, and unvalidated.