Update parse to match semver 2.0.0

- 0-prefixed versions (major, minor, patch) are not allowed
- hyphens allowed in prerelease and build