add the option for loading compiler helpers from globals
cleanup the template compiler
cleanup the enaml compiler
factor out common functionality
factor out enamldef compiler