Changing Url behaviour to assume a trailing slash.

All base urls, such as root_url, should end with a trailing /. The
same applies to base directories and ensures consistency throughout
the framework.