admin template editor - enhancements

save as template now working.
template chooser and editor code base is now more universal (shared w/
campaigns and soon to be more).