TMDM-7496: "'contains the word(s)' on complex type field doesn't work when using full text "

Adds "equals" to the predicate forbidden for full text contains optimization (can't be correctly transformed in Lucene query).
TMDM-7496: "'contains the word(s)' on complex type field doesn't work when using full text "

Choose types to include based on types used in conditions to prevent Hibernate issues (related to cache of entities).