tests,gpg: Add version check hlp to t-support
* t-support.h (parse_version_number, parse_version_string) (compare_versions): New. Copy&Paste from src/version.c (check_gpg_version): New helper to check for a gpg version.
This should make it easier to write tests that e.g.
rely on modern gnupg features.