Improve redirection and slashes for API docs path
Improve redirection and slashes for API docs path

We were intercepting too many requests which caused the URL /doc to not
redirect to /doc/ as it should have. I also added a redirect to send
users of /docs to /doc/.

Trott/ilios,Trott/ilios,dartajax/ilios,ilios/ilios,thecoolestguy/ilios,stopfstedt/ilios,stopfstedt/ilios,dartajax/ilios,ilios/ilios,thecoolestguy/ilios