Handle API endpoints with or without trailing slashes, without redirecting.
Handle API endpoints with or without trailing slashes, without redirecting.

Summary:
Note that by applying this globally, we're being permissive not just
for, say, `/threads/` vs `/threads`, but also for
`/threads/ckjjbxbxda48hr07fvqu644pj` vs `/threads/ckjjbxbxda48hr07fvqu644pj/`.
If this isn't intended behavior, we should instead set strict_slashes=False
only on specific endpoints.

Test Plan: Do `curl http://localhost:5555/n` and `curl http://localhost:5555/n/`.

Reviewers: mg

Reviewed By: mg

Differential Revision: https://review.inboxapp.com/D191

wakermahmud/sync-engine,rmasters/inbox,nylas/sync-engine,PriviPK/privipk-sync-engine,wakermahmud/sync-engine,EthanBlackburn/sync-engine,jobscore/sync-engine,PriviPK/privipk-sync-engine,closeio/nylas,jobscore/sync-engine,nylas/sync-engine,Eagles2F/sync-engine,gale320/sync-engine,jobscore/sync-engine,Eagles2F/sync-engine,gale320/sync-engine,closeio/nylas,ErinCall/sync-engine,closeio/nylas,EthanBlackburn/sync-engine,wakermahmud/sync-engine,gale320/sync-engine,ErinCall/sync-engine,EthanBlackburn/sync-engine,EthanBlackburn/sync-engine,closeio/nylas,rmasters/inbox,ErinCall/sync-engine,Eagles2F/sync-engine,nylas/sync-engine,wakermahmud/sync-engine,PriviPK/privipk-sync-engine,gale320/sync-engine,jobscore/sync-engine,EthanBlackburn/sync-engine,PriviPK/privipk-sync-engine,Eagles2F/sync-engine,nylas/sync-engine,rmasters/inbox,ErinCall/sync-engine,ErinCall/sync-engine,wakermahmud/sync-engine,PriviPK/privipk-sync-engine,gale320/sync-engine,Eagles2F/sync-engine,rmasters/inbox