Fix bug #36592: "rc" versions not compared correctly

TYPO3 version number "4.7.0rc1" was seen as equal to "4.7.0". We now use version_compare(), which already has support for alpha/beta/rc version numbers.


If you merge the other pull request first, this one will be much smaller.