Record matched pattern in context as web.C.Pattern.

This makes the matched StringPattern available to method handlers and to loggers.