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 interfaces.