TMDM-7530: "Display warning during validation when a mandatory field is not visible to all users"

Second thought implementation: isMandatory(...) might return true for a mandatory contained field, even if container is optional.
(https://jira.talendforge.org/browse/TMDM-7530)
Merge branch 'maintenance/5.6'