strip the trailing '/' in urls.

As this will change the urls generated by the plugin, we don't do it unless the option stripTrailingSlash is set.

And for why I did that, it's simply before my framework is seeing

/api/foo/12/

and 

/api/foo/12

as two different urls. Silly framework. :-)