Fixes issues with arrayEach and Array.prototype extensions

Fixes #116 - "AWS.util.arrayEach uses for...in which loops through Array.prototype extensions"