Support SyncQueriedChanges batching in Gerrit >=2.9
Support SyncQueriedChanges batching in Gerrit >=2.9

The commits 76ccd91ff92f1e4b29286fdeda4e687937615a81 and
74abd8e31841e30d6a6e243e34f720b07723cc3c added support in (what was
then) the SyncProjectTask for the changes in the Gerrit API to batching
of queries starting with Gerrit 2.9. This patch applies the same fixes
to the SyncQueriedChangesTask.

Change-Id: Ic2786c10ac326d453b5b7a8bfcad3d1e87db1f52

stackforge/gertty,openstack/gertty