fix stack overflow exception fired  in Collection.set with large collection (with chrome/nodejs/v8)
Merge pull request #2768 from jaguardev/master

fix stack overflow exception fired  in Collection.set with large collect...
Style tweaks
Fix the set stack overflow case with the at option too