When submitting a form with html5 validation on in Chrome, the form fails if the form field with an error is in another tab than the currently visible tab, giving no indication to the user (except errors in the javascript console). This commit adds a click handler to the submit button, adding badges to tabs with form fields containing errors, making it easier for the user to correct their errors to properly submit the form.
Merge pull request #672 from andersaloof/master

Adds a badge to tabs with :invalid form fields
fix route name generation for non standard bundle namespace
Merge pull request #674 from pierrick-vignand/non_standard_namespace_support

fix route name generation for non standard bundle namespace #376
Merge remote-tracking branch 'upstream/master'