Call handleInputChanged in beforeSubmit

This will recompute the derived property validityClass even if the the input element is never changed but submitted.

Fixes #12