Allow typeof expression in template mixin

Since mixinTemplateName can start be a ```typeof(thing).thing```, check for this.

Aside: I only just checked to make sure that the unittests for the parser still succeed (they do). Is there anything else you run to test changes here?