Validation errors

- Added an exported function for creating validation errors.
- Added methods on the ResError class for appending validation error descriptions.
- JSON serialization of error instance include validation error descriptions.
- Fixed linter warnings.
- Module has 100% test coverage.
Merge pull request #4 from Springworks/feature/validation-error

Validation errors