Fixed compatibility with Nette 2.2
Merge pull request #16 from enumag/patch-1

Fixed compatibility with Nette 2.2