feat(UrlMatcher): implement non-strict matching

Implements strict (and non-strict) matching, for configuring whether UrlMatchers should treat URLs with and without trailing slashes identically.