ensure method(obj, key) can't mutate the loop.
Merge pull request #3690 from emberjs/fix-iter-deps

ensure method(obj, key) can't mutate the loop.