Added partial function application to the function prototype

Added the ability to partially apply a function (useful for a variety of FP type things).

http://en.wikipedia.org/wiki/Partial_application

based off of this:

http://ejohn.org/blog/partial-functions-in-javascript/