Makes the diffSeries function support functions as parameters
Ensures moving average returns the correct start and end time for a simple metric list
Merge pull request #19 from ciaranj/ASH-DiffSeriesMovingAverage

Small fixes to diffSeries and movingAverage