Flexible curry function with strict arity.

Curry function I've been tweaking. This implements curry strictly and competes with bind performance in many browsers.