Some enhancements to binary checking.

1. Special case for inner classes of packge-private objects.
2. Made tools classes accessible when running `spark-class`.
3. Various other improvements to exclude-generation script.
Reveiw feedback.