Refactor validator helper

1. Passes the request and reply objects to the callbacks to allow for handling
without having to spawn per-request closure instances.
2. Remove the RegExp
construction in favor of passing the literal in via the options hash. This is
more performant and helps the users avoid surprises when presumed literals are
parsed as regular expressions.
Not sure what you're saying here, but again you're free to update the stylistic concerns in this code as you please.