Process JavaDoc for unused imports check

Requires checkstyle 6.0 or later, which must be added in as a dependency to the checkstyle plugin either in parent or in the target project.