Add graphite URL function: averageLine()

Takes the average of all data points in a series and plots a horizontal
line representing that average.

&format=averageLine(path.to.some.metric)

I was looking for the ability to do this without hacks, and at least one other people that I know of asked about this ability in the IRC chatroom.