Fix CapabilitiesComparator after 52197cf5d134d921809642db71da75b655e71229
(Or rather make CapabilitiesComparatorTest pass, preserving historical behavior.
Ultimate fix for CapabilitiesComparator would probably delete the whole thing)

Also separated
//java/server/test/org/openqa/selenium/remote/server:small-tests:run
that is now running continuously as part of "Small Tests" on CI.
Deleting what appears to be unused deps.
Separate commit so this is easy to revert if I'm wrong.