Fixed compatibility with Nette 2.2 & latte/latte package
Merge pull request #1 from TomasVotruba/patch-1

Fixed compatiblity with Nette 2.2 & latte/latte package