Upgrade to semver to 2. Refactored and simplified semverext.gtr code in response.