Validate: Add exception for tag commits.

Tag commits can have a commit message that consists of only the tagged version
and nothing else. Uses semver to validate the version string, so anything
considered valid by semver will be accepted.

Fixes gh-3