properly replace capture groups in URLWith / URLFor

if specifying a standard capture group (as specified by
http://golang.org/pkg/regexp/syntax/) in a route, the replacement
in URLWith needs to include the appropriate regex, in addition
to the :name sugar
add test case for capture group replacement in URLFor