TMDM-7615: "Sub-type should not allow to define field with the same name with it's supertype"

Fixes issue relative to FK field: getDeclaringType() was returning containing type iso. declaring's.
(https://jira.talendforge.org/browse/TMDM-7615)