Specify both group and module for all non-test dependencies

Gradle will only include an exclusion in a generated pom file if both
a group and module are specified. Test dependencies are not included
in generated pom files so they are not a concern.

This commit updates all non-test exclusions to specify both a group
and a module.