Validation should setErrors even we validation passes. Fixes #85.

Same pull request as #86 but into develop not master.