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

Includes non-instantiable types (reusable type) in full text query.

(cherry picked from commit ab608d81f829752a4ab6543c13ef424ac1d3bd18)

Adds "equals" to the predicate forbidden for full text contains optimization (can't be correctly transformed in Lucene query).
(cherry picked from commit 31e6f63)

Choose types to include based on types used in conditions to prevent Hibernate issues (related to cache of entities).
(cherry picked from commit f5dd83f)
(cherry picked from commit 0dcb493)