Plot query results

In case you think it is useful, this is a simple option to plot query results as a function of the first property, when numeric. It can be extended for instance by allowing user to change plot type.

Having jquery.flot with the pie plugin (or some other better javascript plotting library, not an expert) would also allow creating reports of query results (e.g. proportion of run_types, pseudo_potentials, etc.).

Cheers,
Miguel