Add a validator for flatten=true

A script for running through dashboard configurations, repeating module queries with flatten=true.

This does some basic error checking and reports the slowest queries and worst regressions.