EZP-20606: added check for FieldDefinition being created or updated as searchable, for FieldType that is not searchable

Also moved createion of SPIFieldDefinition object below validation code