Use better semver ranges for 0.x versions, fixes #3518
Use caret operator for 0.x releases when guessing versions, fixes #3518