[BUGFIX] "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.

Fixes: #36592
fix ExtensionTestServiceTest
get rid of versionToInt()