Feature templates

This adds support for templates to Enaml.