AMBARI-578. Custom Config page: don't allow form submission if there are client-side validation errors (Contributed by yusaku)