Add the ability for parameter values to accept a Proc

I added this to fix a small problem of my own, thought it might be useful to the main project. I've added tests and README section