Added uri() method to Freemarker templates. The uri() method prepends the context path to a given relative path.