API.Routes: Disregard trailing slash.

Allow endpoints to use the very last slash rather
than 404'ing.