add an req_path_handler opts to renderer.static

I need to hash all my static files in production environment. It'll be convenient if nobone can offer an optional method to handler with the `req.pah` for static files. So I add this opt item to  renderer.static, in order that I can do the hash mapping work more easily.