Make package renamer visit referenced types only

Package renamer used to visit all types in order to take into account
types on classpath so that references to these types get renamed in
types to emit.
This CL suggests to retrict the visit of classpath types to the one
referenced by types to emit.

Cherry picked from commit bf93bed4c38cfba155cbd607cdcff79607e8cbd7
and contains conflict resolutions.
(call to JLookup.removeType() has been replaced by Jlookup.clear())

Bug: 26080068

Change-Id: I18ea503833061af1be31afd6bc9d9f96ea52dd28
1 file changed