Fixed check for safe mode
Fixed unpack() to support PHP 5.5
Merge branch 'master' of github.com:WoltLab/WCF