added caching mechanism for template classes
Merge branch 'feature/structure' of git://github.com/sulu-cmf/sulu into feature/structure