Nette 2.2 compatibility

Upgraded to nette 2.2