Adapt versioning helper to easy working with branches.
Updated package.json.