Add support for adding event handler for form submit as well as a callback for invalidation on H5F setup.
Add minified version for the addition of the onSubmit and onInvalid handlers.
Document new onSubmit and onInvalid setup options on readme.
support oninvalid