riemann.folds: total redesign of semantics.

Most folds now come in a friendly (sum) and a strict (sum*) variety,
intended to do sane, informative, correct things under common
circumstances like being asked to reduce nil events or events with nil
metrics. Should close #157, I believe. May do some fine-tuning before
release.