Add script to check for purl validity
Validates github/gitlab Package URLs (PURLs) and checks whether the
referenced repo/project, ref (branch/tag/commit), and subpath actually
exist, via the GitHub/GitLab APIs.
PURLs can be passed as CLI arguments, read from a plain text file
(--file, one per line), or extracted from a CycloneDX JSON SBOM
(--sbom, recursively collecting every "purl" field). Optional GitHub/
GitLab tokens raise rate limits and allow checking private repos.
Exits non-zero if any purl is not found, malformed, or could not be
verified; a summary of ok/not found/error/invalid/skipped counts is
printed at the end.
Change-Id: I60a3425f3c6fac77eedae36482427c6c487ee60e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>