Implement alias redirects

Introduces a new handler, refines the existing redirect reasons in the
statistics implementation.
Additional aliases

Adds /api/version as an alias to /api.