support for Nette 2.2

This adds support for Nette 2.2