add a bulk_query method to let us get back more than one item

extend gerritlib so that we have a query method to get more
complicated query sets. Would rather use gerritlib than raw ssh
commands for this, and this makes it possible.

Change-Id: I467011f027cfc3d594db5f95bb7a5ff46e79b1a8