Check whether imports are correctly ordered

Closes #987
Merge branch 'master' of github.com:WoltLab/WCF