aggregates: added moving average

Change-Id: I8778b9ac50189ad9c964c2db3cc3735699ab240e
Merge "aggregates: added moving average"