Use Ember idiom to iterate over keys
Merge pull request #1361 from gerry3/iterate_better

Use Ember idiom to iterate over keys