use IteratorAggregate for Collections, so nested iterations are possible
Merge pull request #595 from gharlan/collection-with-iteratoraggregate

use IteratorAggregate for Collections, so nested iterations are possible
cs fixes applied