Refactor maven_packages_spec.rb to include table syntax
Summary
The Maven API tests are getting a bit long and disorganized. There are many repetitive tests as well as sections where certain cases are not tested (for example not testing each route with each allowed token type, or for each permission type). We should refactor to include table style tests similar to what we have in PyPI and NuGet. This will improve readability and coverage.
Improvements
maven_packages_spec.rb