Added compatibility with nette 2.2
Merge pull request #2 from Budry/nette-2.2-compatibility

Add compatibility with nette 2.2