Support baseUrl in jade templates

 - The links in jade templates is hardwired to root, which break any
   usage of baseUrl
 - Load package `url` for jade
 - Add baseUrl to links in jade templates