Add script for finding classes with the same name

This script migrated from ImageJ:
https://github.com/imagej/imagej/blob/2c503fa63e4ba77e68a2d8104201f6a886b4b0b3/bin/get-duplicate-class-names.sh