implement Smarty3
rebase and update themes
fix show-stopping bugs
deal gracefully with non-existent files
Merge pull request #13 from fermionic/20130105-smarty3

implement smarty3