Rename hasErrors->hasValidationErrors

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>