A Set.iterator() implementation that uses Set.forEach if that is available. Other Iterator- and Set-related JSDoc/CC fixes.