Add PublicDiffCriteria and related config options

Fixes https://github.com/jeluard/semantic-versioning/issues/31