Wip: Integrate tmpl plugin for dust templates loading

Work in progress: it works server side but there is still a problem to be solve client side.