WIP - move VarScope into the State, and start implementing var hoisting