REST: Add field settings and validator configuration to FieldDefinition* schemas

This PR adds field settings and validator configuration values to the FieldDefinition, FieldDefinitionCreate and FieldDefinitionUpdate schemas.

Also field type serializer methods are updated so they can be used from create and update struct visitors.