closes #42: added Model->addError() and Model->getErrors() to store and retrieve model validation errors