Documented Model.validate
Added unit tests for validation logic with custom error object
Merge pull request #91 from alejom99/validation

Validation documentation and unit tests