Normalize URI handling with trailing slashes
Implementation is consistent with the one proposed in #532
Merge branch 'fix-trailing-slash' of github.com:Sija/chaplin into fix-trailing-slash