Get the original query in ResultSet

Make the original `Query` available from the ResultSet.

My usecase is that I would like to access the original query table from the cell. So I can pass various ResultSets to the cell

```PHP
$this->cell('MyCell', [$articles]);
$this->cell('MyCell', [$comments]);
```

and then in the cell I can access for example the original table and make some decisions:

```PHP
public function display($results) {
    $table = $results->query()->repository();
    $table->someCommonTableMethod();
}
```

my current workaround is
```PHP
    $table = $results->__debugInfo()['query']->repository();
```
which doesn't look good.


But I am not sure if this works if the query was cached, because when the results are read from the cache it looks like the `$_query` in the `ResultSet` property is empty.

I know I can pass the table to the cell, for example:
```PHP
$this->cell('MyCell', [ \Cake\ORM\TableRegistry::get('Articles') ]);
$this->cell('MyCell', [ \Cake\ORM\TableRegistry::get('Comments') ]);
```
but this looks bad to me and I think I shouldn't manipulate with TableRegistry or with the Model in the View.
Use full namespace starting with backslash for `Query`.