Implement queryz

First cut of queryz. For now, it orders queries by
average latency. We'll need to support more features
on this page.
Merge branch 'monitoring'