added parameters to validation

I added the ability to provide parameters to the validation, like: maxLength[123]

Unfortunately it breaks the API by requiring the validation functions to accept an extra parameter.

But - thought I'd sent it back in case you wanted it :)