Implements the clustering stack.

cluster reads a set of summary files, and tries to group tasks
according to their resource usage.
Added function to collect the summaries of a cluster.
Automatically generates the gnuplot command for stacked
histograms.