up to Smarty 3.1.16
Merge pull request #15 from gsaunier/master

up to Smarty 3.1.16