Fixed compatibility with Nette

CachingIterator was renamed: https://github.com/nette/nette/commit/f2d7d8db8ae1fc5c94f2ebc184b0d26e0c532029
Merge pull request #36 from echo511/patch-1

Fixed compatibility with Nette