Changes to accommodate newer routing in Tachi.

Routing now deals with routes with missing parameters properly, so there
no longer /{param}/ fragments in the URLs, and so that QS arguments are
parsed properly.