implement test grouping by a couple dimensions

Verified working with log size graphs (which are fast to generate).

Had to change []Test usage to Tests which is []*Test in a few places.

Added some new types for grouping and methods to make it all work
without a lot of headaches.

Added beginning of scatterPlot method.