fixes regarding version system

See https://github.com/WoltLab/WCF/pull/1751

I failed to rebase the branch

Also there are some issues in our version system - i fixed them with f37eef7