CRM_Core_CodeGen_Util_File - Better tempdir creation
CRM_Core_CodeGen_Util_Smarty - Only generate one instance of Smarty (with one temp dir)
Merge pull request #3997 from totten/4.5-gencode-tmpdir

GenCode - Create fewer tempdirs, and create them more securely