Bug Fix: dataContextWillUpdate returned empty object on Undo

Also fixed iterating over a model. Now does not return
__stateChangeHandler