Add support for full semantic versioning versions

See http://semver.org/ for details.