add tests for curry errors
curry uses inspect module to more intelligently handle errors
pull out curry arg counting to _num_required_args
pep-8
Merge pull request #52 from mrocklin/curry-errors

Curry errors