Implement hashCode and equals in FactoryProvider/FactoryProvider2, with the aim of allowing Guice to dedupe bindings.

Also fixed a bunch of niggly Eclipse warnings, but this will be easy to remove if it's not wanted.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=65607792
6 files changed