Bug 141885: Bytecode generation and linking should use a stack of symbol tables rather than a stack of scopes, and scope resolution nodes should refer to the current stack of symbol tables to drive lookups rather than using dynamism for non-empty local scope stacks