Fixes #196: error summary models list is now customizable when using AJAX validation

Fixes #196: error summary models list is now customizable when using AJAX validation.
Rework of #2591.