Fixed compatibility with Nette 2.0

@hosiplan Do you actually use this extension? It didn't work with neither 2.0 or 2.1. If you don't use it, why?