TemplateControlTrait: fixed compatibility with Nette 2.2 [closes #15]