[api] Do not require a window stream to be specified to moving-average in arguments
[test] Tests for moving average
Merge pull request #4 from jesusabdullah/moving-average

Fixes to moving-average