Validation errors send more helpfull response.

A validation error message now contains a message which specifies the path of
the property validation failed with, and a machine readable validation code of
the format `validatoin.<path>.<code>`.