Fix scoping issue with inner classes and lambdas

pushLambdaMethodLocalsIntoMethodScope wasn't using the
emulation path as the curMethod.locals binding key.

ResolveNameReference uses x.bits & ASTNode.DepthMASK to detect nesting,
but this doesn't properly detect lambda scopes.

Change-Id: Iab1ac81ecf437f109294427e91625bd944c3bd31