Fixed assigning to member bug, added test.
Got basic templates working
Got class templates (but not method templates) working.
Denested template expansion functions.
Fixed instance variable bug, others.
Converted to just threading globals map through compiler instead of flatProg
Fixed template expansion bug (not expanding newly defined templates)
Started generic method support and modified ref layouts
Chnaged how refs work in type annotation phase.
Got template methods working on classes.