merge render_url/urls
fix trailing slash
Merge pull request #39 from Carreau/url_urls

merge render_url/urls

De-duplicate code.

Should avoid double bugs/double fixes...