Form validation enhanced

The validationState object returned from the validate() method now
contains an isValid() function that checks all validation states and
returns true or false.