Add course_url to template hrefs for web2py generated pages

This further helps configure a course so that the static content could be hosted anywhere but the links to  web2py content will link back to a running web2py server.