Cherry-pick "Make class lookup lazy in jni_generator when using lazy method lookup."

> This removes the eager class registration from RegisterNatives when possible.
>
> BUG=402003
> TBR=sievers@chromium.org, brettw@chromium.org, torne@chromium.org
>
> Review URL: https://codereview.chromium.org/491043002

BUG: 16870075
Change-Id: Ia2cdbddad9a12f9101290af4c06684706eac63c6
29 files changed