Support baseUrl in jade templates [fix#176]


 - fix#176
 - 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