CRM-12930 Execute Smarty templates before token replacement
Merge pull request #1368 from drumm/CRM-12930-smarty-compile

CRM-12930 Execute Smarty templates before token replacement