curry functions in toolz/__init__.py

TODO: arrange this better - __init__ should not have logic
TODO: test