Added method to get all validation errors of a model refs #7