Move Dygraph.getContextPixelRatio to dygraph-utils.js