Add --quiet and --dry-run flags

Pants wants to know which .java files are going to be emitted from the compiler early in its build.

This change adds the ability to squelch the diagnostic output with --quiet
It also adds the ability to bypass generating code and just report the files it would create.

This change touches a lot of stuff, maybe more than it has to.  For example, I moved 'writer' to a function parameter instead of storing it in a field variable.  Let me know if you want me to land it as smaller changes or be less intrusive.
This would probably be better served by [auto/value][1] since it'll implement sane equals/hash/tostring for free.

 [1]: https://github.com/google/auto/tree/master/value