allow to set template compiler

this add a simple option that allows to set the compiler to be used. This allows to compile Mustache or other types of templates to JST with the same code