Fix pickling of partials when there are no kwargs
Merge pull request #46 from matsjoyce/functor_fix

Fix pickling of partials when there are no kwargs