Add Smarty support - Note that the module now plugs on the SmartyPreCompile event (before it was SmartyPostCompile) - This needs tests