uitypes: improved AETemplates to work when created from within a scripted plugin
uitypes: improved AETemplates to work when created from within a scripted plugin

AtonLerin/pymel,leonsooi/pymel,david-lassonde-adsk/pymel,AtonLerin/pymel,shrtcww/pymel,juggernate/pymel,leonsooi/pymel,david-lassonde-adsk/pymel,shrtcww/pymel,assumptionsoup/pymel,juggernate/pymel,assumptionsoup/pymel