Refactor secrets analyzer in preparation for gitleaks v8
Gitleaks v8 is coming. It's a massive speed improvement that comes through a simplification of the scanner itself. As such, there will need to be large changes to the secrets analyzer to prepare it for the new version.
Update analyzer code to support gitleaks v8