Fixes #196.
Less overhead.
Merge pull request #2593 from resurtm/fixes-196

Fixes #196: error summary models list is now customizable when using AJAX validation
Array checking.
Revert last commit. No need to check it. :)