Refactor the checkstyle configuration into its own artifact.

This should avoid issues where the various modules fail to find the checkstyle configuration.