Remove functions used for sorting data in perfgraph.js

This is now done in genGraphs so the code isn't needed anymore
Remove most references to graphInfo and divs in callbacks

We add the graphinfo and divs to the dygraph, but that can only be done after
the dygraph has been created. The graphInfo and divs are used in some of the
callbacks. I believe that in cases where the dygraph loads quickly the
divs/graphInfo are trying to be accessed before they are actually set which is
why we sometimes get missing graphs
Updates for dygraphs 1.1.0

Some options were deprecated and turned into per series options. Change
drawGrid and yAxisLabelWidth into per series options.
Stop putting sort in graphdata.js

It's no longer needed since sorting has been moved to gengraphs
Merge pull request #982 from ronawho/cleanup-perfgraph-javascript

Cleanup some perfgraph code

 - Replace some functionality that has been depracated with dygraphs 1.1.0

 - Remove sorting code from perfgraph.js
   - sorting was moved to gengraphs a while ago, I only left it in in case
     something went wrong

 - Remove most references to 'divs' and 'graphInfo' in dygraphs callbacks
    - I think this is responsible for some graphs occasionally not loading
      (that become much more frequent with some upcoming changes.)