Merge pull request #17 from mrocklin/frequencies-performance

Frequencies performance
Merge pull request #15 from mrocklin/curried

curried namespace
add reduceby
refine refine-by docstring
skip doctest that prints a dict