HSEARCH-1573 Take into account @ContainedIn annotations even if there is no corresponding @IndexedEmbedded

This patch brings back the behavior observed before a refactoring committed during the 4.4 cycle.
HSEARCH-1583 Collect collectionRoles taken into account in the optimizations to declare them for all subclasses

ORM considers that a field belonging to a @MappedSuperClass is attached to the first @Entity subclass.
Adding every collectionRoles to the subclasses seems to be a nice way to fix this without depending too
much on ORM behavior or JPA API.