First revision of function partials

First suggestion for fixing #30

Now it's just a simple running of the function. This could be refactored to have single callback and cleaner structure. Any ideas what should be used as `this` for the partial function? Or what parameters it should have?