Closes #342: Add stripTrailingSlashes to all /api urls

Also removed trailing spaces from all urls and set proper
trailing slashes where necessary.

The geotrellis API does not use trailing slashes
Remove duplicate settings resource definitions
Merge branch 'feature/fix-resource-logout' into develop
Closes #402: Close yes/no modal when navigating

Clears the modal display conflicts by:
1. Closing the yes/no modal if the page changes
before the modal has a chance to display
2. Do not display the yes/no modal when the add/remove
city modal is open.