Add foldMap, sum, foldMapWithIndex

* In accordance with the any/all functions, provide sum and foldMap and
  foldMapWithIndex for more versatile folding.