Replaced Template system with Smarty
Added support for Smarty and removed old template system.
Merge pull request #1 from weactivist/Smarty

Smarty