fix version parsing for release candidates
[docs] fix generation of version string
[tests] fix version test
make Versions comparable