Smarty 3 support in AgaviSmartyRenderer, closes #1328 (committed in a chair in the sky over Hudson Bay :D)