Added `sum` function so reduce function that use it work correctly.
Added a test for the missing `sum` function.
Merge pull request #89 from dozeo/fix-map-reduce-to-matcher

Fix MapReduceToMatcher when reduce uses `sum`