Applying patches to support foreign_match_fields in extbase.

Patch #1: https://review.typo3.org/gitweb?p=Packages/TYPO3.CMS.git;a=commit;h=03d63200e1ec598cc582969dea22f4992cf9b799
Patch #2: https://review.typo3.org/#/c/26694/