+compatibility with Nette 2.2

Signed-off-by: sinacek <sinacek@gmail.com>
Merge pull request #7 from sinacek/master

+compatibility with Nette 2.2