Refactors forms_theme - pulls out code to build the array of tpl.php email templates