Added hasValidationErrors() to ApiResult