Revert "Merge pull request #1371 from drumm/CRM-12930-smarty-safe-mode"

This reverts commit 94ee5a7f70c82520c5ff4c736d5e6638ec49e780, reversing
changes made to a487a4bf777638a15e079baa489eabf13a7e035d.
Revert "Merge pull request #1376 from monishdeb/CRM-12930"

This reverts commit ab705a177447f37bbc6ee107a79927ca13498343, reversing
changes made to c77d25a7703832e635e36ef92192a278e42fc8e7.
Revert "Merge pull request #1368 from drumm/CRM-12930-smarty-compile"

This reverts commit 30ffbdf089db87d9cf2905939f84348a0b03b5e1, reversing
changes made to 94ee5a7f70c82520c5ff4c736d5e6638ec49e780.
Merge pull request #1377 from kurund/CRM-12930

CRM-12930, reverting commits associated with this issue