Select form first tab with errors on load / submit

PR related to the discussion in 325508ca99e45428db20828985857a5f6eb8f911.

Switch to first tab with : 
- server side validation errors on page load
- HTML5 errors on form submit