use error object in validation helpers
made strings use single quotes to make rubocop happy
Merge pull request #75 from Factlink/improve-validation-helpers

use error object in validation helpers