Added memory_limit check for thumbnail generation
Merge branch 'master' of github.com:WoltLab/WCF