Add new test helper for matching heka messages.
Add new counters for query-response types, close #172.
Condense some heka-checking code in testsuites using new helper.
Fix review nits.
Merge pull request #173 from graydon/bug-172-count-response-types

Add counters for response types, factor out some heka message checking in tests