Add graphite URL function: averageLine()

Takes the average of all datapoints in a series and plots a horizontal
line representing that average.