Add support for passing a map to sorted-sample

When the points provided to sorted-sample (and by extension percentiles)
is a map, the values of that map will be appended to the service name
instead of the point value.

* Other whitespace cleanup in the folds tests.