Add sum() to sugar.d.ts.

The nullary version of sum() was missing in sugar.d.ts (ony the unary
version was present).
Merge pull request #3053 from kalibrr/sugar-sum

Add nullary sum() to sugar.d.ts.