Fixes #2254: AJAX and client validation doesn't work with `errorSummary` set to true.

Fixes #2254:

1. Fixes original issue: AJAX and client validation doesn't work with `errorSummary` set to true.

2. Added `CForm::$showErrors` which controls whether error elements of the each attribute should be rendered.