Api slashes

connect-slashes global causes a 301 Redirect on /api/ GET requests. This isn't really needed as these routes aren't used for history.

This commit causes connect-slashes to only be effective on routes not starting in /api/