FrameworkWebServer: Rewrite resolveRoute to return (RequestHandler * MatchResult)

Rewrite resolveRoute to return (RequestHandler * MatchResult) tuple,
removing the need to invoke the route's RouteMatcher twice.