[TASK] Sanitize sorting in statistics writer

The sorting value is run through GeneralUtility::removeXSS() and
htmlentities.

This also prevents an error with TYPO3 6.2 where exec_INSERTquery
tries to insert a NULL value for sorting which is not allowed by
the current table definition.

Change-Id: Ie67a5ea1e8c999c1d3ff4d2314bf88148b0bfa08
[BUGFIX] Prevent PHP warning in statistics writer

Before calling get_object_vars() in the statistics writer on
$response->$response->spellcheck->suggestions an is_object() check will
be performed to prevent a PHP warning.

Resolves: #58130
Change-Id: I07e1f681421491bfc2c16741dd7243fc794a8394
[BUGFIX] Use mount point parameter in page document ID

The mount parameter that is used to access a page is now passed on
to the page indexer and will be added to the page document ID if
it is not empty. This allows a page to appear multiple times in the
index in its different mount point contexts.

Relates: #59438
Change-Id: I4fd0d4f21b1805fc532eef1a51851ddc8fa303ee
[BUGFIX] Use mount point parameter for rootline generation

The page indexer appends the current mount point parameter to the
rootline field (seperated by comma).

The PageUidToHierarchy field processor splits the field value
by comma and uses the second parameter as mount point parameter
for generating the rootline.

Relates: #59438
Change-Id: I0b910518795cd715b500ee9ee279d74eb5049c0e
[BUGFIX] Improve mount point index queue handling

When a page is stored in the Backend and a mount point page points
to it with overlay enabled the record monitor will now also add
the overlayed page to the index queue.

Pages with disabled mount point overlay will now be indexed as
normal pages by adjusting the additionalWhereClause config option.

Resolves: #59443
Change-Id: I3a0be14358161c7a6b5da5bed6cdde5e99714071
[BUGFIX] Respect mount point in access rootline

Tx_Solr_Access_Rootline::getAccessRootlineByPageId() now accepts
an additional parameter for the current mount point.

In the page indexer the mount point parameter is used to build
correct access rootlines for mounted pages.

Resolves: #59633
Change-Id: I260a3d061c13c8821bc241367d24d12153afb5c6
[FEATURE] Hook for garbage collector delete query

This patch introduces a hook that allows the modification of the
Solr delete query in the GarbageCollector.

Resolves: #61906
Change-Id: I7947351413b3122903ebac33d2e7bb68235fe5d0
[BUGFIX] Disable fe_group check in UserGroupDetector

A hook is added for the checkEnableFields() method in the
TypoScriptFrontendController that overrides the fe_group field
with an empty value. This allows the UserGroupDetector to detect
content groups within subpages of access protected pages where
extendToSubpages is enabled.

Resolves: #61955
Change-Id: I04f232f99200786fe06f7c4923259fb60bba5bb9
[FEATURE] foreign_match_fields in SOLR_RELATION content object

The foreign_match_fields configuration of foreign tables is now
considered in the SOLR_RELATION content object.

Resolves: #61330
Change-Id: I5645a3d2ecd3e2a223cc5ae2b26d862d06629f51
[TASK] Remove source information from composer.json

Change-Id: I51bcc9c5980a1e440fa540d7ba60b9b24882922a