ChangeList: Generalize query to work with any number of queries

Instead of placing the responsibility on callers to count the number
of queries, just handle this transparently. This keeps the interface
simpler.

Rename to queryMultiple to distinguish it from the other query method
in this class.

Change-Id: Ic85857790c82c550bf6ebbe2a43b89f71a54c408
3 files changed