Fixes #755 - Add a validator for field length
Fixes #756 - Ensure that validation errors are always associated with the submitted entity