Updated for Nette 2.2.

Nette Framework 2.2 compatibility.