TMDM-7700: "Cannot use "IsEmptyOrNull' condition on a FK"

Fix incorrect alias for isNull condition on FK (pick the FK's containing type iso. the referenced type).
Adds unit test to ensure test coverage.
(https://jira.talendforge.org/browse/TMDM-7700)
Merge branch 'maintenance/5.6'