[BUGFIX] Adapt Query to extended QueryInterface

With TYPO3 CMS 6.2 the QueryInterface was extended.
Add missing functions to Query.php.

Change-Id: I078c7a5333ec861bebf195cdd0ec1378741492d1
Resolves: #57671
Merge "[BUGFIX] Adapt Query to extended QueryInterface"