add reduceby
refine refine-by docstring
skip doctest that prints a dict
Merge pull request #5 from mrocklin/reduce-by

add reduceby