Move perf graph sorting to genGraphs

Instead of sorting graphs online, sort them when we generate the graphs in
gengraphs.

The sorting functionality is still on for the javascript code. Turning it off
will come in a later commit.
Stop sorting graphs online. Already sorted in gengraphs now
Call setColors for expanded graphs and multi configuration graphs

Set colors is still needed for graphs that will be expanded (to set the dashed
lines) and if multiple configurations are being displayed (also for the dashed
lines.)

Also I changed the graph titles for some of the compiler performance graphs
since they had identical names which screws up detecting which suite is
selected. I should add a check for duplicate titles.
Merge pull request #839 from ronawho/sort-graphs-in-gengraphs

Sort perf graphs' series in gen graphs

[reviewed by @Kyle-B]

This will have a pretty substantial impact on graph loading times, and will
allow me to rip out a bunch of the javascript functionality.

Sorting used to happen online with the expectation that we might have more
complicated sorting in the future. e.g. sort based on the average of the last
weeks data instead of just sort based on the most recent day.

This moves sorting to gengraphs and stops sorting online. The functionality to
sort online is still in perfgraph.js but I'll remove it later assuming
everything goes well.

The actual sorting in gengraphs is a little kludgy because it takes the csv
that is generated, parses that and then sorts it before printing printing out
the now sorted csv.