add tests for loading the queries

this ensures that we don't have an unexpected explode when
processing this data.

Change-Id: Ib65bd2516a7b594ed34dc35ac95659325b97e6df
Use short build_uuids in elasticSearch queries

In addition to searching by change and patch search by the short build_uuid.
This prevents us accidentally classifying multiple builds when we classify
a failure on gerrit. This can happen in the gate queue if there is a
gate reset, or if there are multiple 'recheck bug x' on a single patch
revision in the check queue.

Change-Id: I6356a971ca250ddf5f01a9734f13d0b080a62c89
Merge "Use short build_uuids in elasticSearch queries"
Merge "add tests for loading the queries"