Fix Issue 4725 - std.algorithm.sum()

Added pairwise summation and Kahan as summation algorithms. Also calculations are made in appropriate sizes for integral and floating-point types.