@WIP: Add validation to csv import based on content type.

#6054 

WIP

Validation of uploaded CSV file is performed according to the content type.
The failure was to problem in the class field mapping.
Once solved, we have no validation for the headers themselves, so the mapping of the values to fields is just wrong, and failures happen during import and not during validation.
I think we should keep the missing validation.