Allow local variables in goog.scope
Fixes issue 1020
R=blickly