Improved the mangling of the project versions such that alpha, beta and RC versions are transformed to a package version ordered before the final release (ex: 1.0-RC1 -> 1.0~RC1)