Make ModuleAdapters stateless.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=54155756
Fix test to conform with stateless module adapters.
Revert a conversion from an array to a list (to avoid the extra unnecessary allocations) and deal with a few code review nits.
Merge pull request #335 from cgruber/statelessmodules

Make ModuleAdapter implementations stateless (incompatible codegen change)
Use a ReadWriteLock rather than a single, global lock to memoize in dagger.

In server-side apps we have clocked Dagger's LRU cache locks as the third-most contended lock, and this permits much more parallelization.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=54797822
Prefer LHM over HashMap, and remove a stray synchronized keyword.
Merge pull request #336 from cgruber/readwritelock

Use a ReadWriteLock rather than a single, global lock to memoize in dagger.