More query store code prototyping

Code still not registered

Now making use of MessageReporter interface, see https://gerrit.wikimedia.org/r/#/c/50042/

Change-Id: If7432fb5336e1128043b0c503c10ed2e7ceb4ae1
Merge "More query store code prototyping"