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