Correct trailing slashes

In order to prevent duplicate content, trailing slashes are removed from URLs.

Links:
 - https://github.com/avinoamr/connect-slashes
 - http://stackoverflow.com/a/14802756/8446