GROOVY-6323, GROOVY-6325, GROOVY-6332: (now fixed reverted commit) make Closure not use static scope and add transformer for VariableExpression in the static compiler