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

Smarty 3.1.13 proper install, template system complete overhaul.