defined validation

Okay, tear it apart :)
Use `doc.errors.add(attr, :undefined, options)` and define the error message in `lib/nobrainer/locale/en.yml` (for i18n).