Add operators and translation logic to API in version token

Support filtering by not operator as well as equals operator, while selecting multiple versions too.

Operators

Only support = and != because of backend performance.

How to query: component_version_ids[]=x.y.z and not[component_version_ids][]=x.y.z

Verification steps

  1. Go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/verify-not-equals-component-versioning-filter/-/dependencies
  2. Filter by component git
  3. Filter by version and choose operator != ("is not one of") and select some versions
  4. Apply the filter and verify that the git dependencies of those versions are not shown in the list
Edited by Lorenz van Herwaarden