[For Review] Vanity URLs

This is a feature branch for vanity URLs.

The new "people" url is /:username. This patch converts every route with a people/:id to a :username route. The old scheme is preserved via URL rewriting.
This part seems so complex that comments might help to clarify what it does