Use `config.base_url` in all views.

I set up Raneto using a proxy pass in some folder on my web server, but the URLs were always absolute to the root directory, not aware of the `config.base_url` value. This PR solves this.