Add URL Normalization Middleware in React Router

Redirect trailing slashes and www hostnames to one canonical URL before routes run.