Spinner on form submission (CO-581)

includes a check for HTML5 validity, allowing us to turn off the spinner explicitly if a browser stops on a validation error