Introduce reductions module with a couple of sum reductions

incl. docs and tests.