Add Router.rebuild() and make the tree match router implementation the default.

Router.rebuild can be used to eagerly create the match structures to avoid a delay for the first request.
Make URLRouter final and add a removal notice for the HTTPRouter interface.