Update to Smarty 3.1.13

Updated smarty folder to 3.1.13 Tested and appears stable.