#213: add helper methods for semver parser
#213: Never save prerelease version into dependencies