TMDM-7843: "Contains full text optimization cannot be used when type reuses the same reusable type more than once"

Disables full text optimization if a reusable type is used more than once in entity.
Adds unit test to cover issue.
(https://jira.talendforge.org/browse/TMDM-7843)