Create configuration for tables to exclude from ReferenceIndex
The patch https://review.typo3.org/#/c/35191 introduces a list of tables to exclude from ReferenceIndex as a class member to improve performance.
Christian Kuhn and Frans Saris would like to have a configurable solution instead.
When implementing this: Beware a new instance of ReferenceIndex is currently being instanciated for each record! So a configurable solution must provide these tables very fast, best might be to introduce a cache too.