Smarty 3.1.13 proper install, template system complete overhaul.
Merge pull request #397 from sinfuljosh/dev

Smarty 3.1.13 proper install, template system complete overhaul.