Make it possible to set options.tmpl_path to a function returning a path based on the name of a template _or_ a string containing the root path to html templates. The change makes it possible to override the paths or generate them on the server-side if the deployment method requires that. An example is the sprockets asset pipeline used by Rails which adds a digest to an asset's filename based on the contents of each individual file.
Merge pull request #281 from bilus/template_path

Make it possible to set options.tmpl_path to a function returning a path...