Make transform return the same errors as validate

This includes the potential lookup of i18nized errors messages
and custom errors message. The return value of `transform` at
the key `:errors` is the same as what `validate` returns.