Parses a string package name (with optional version) into an object, and tests for Snyk support.
This is designed to handle npm package names in particular (e.g. Git urls).
See tests for examples.
snyk-module is the legacy name.
TODO: rename the repo/package to @snyk/package-name-parser.