remove the redundant `each` method from OptVec
container: remove internal iterators from Map

the maps are being migrated to external iterators
remove `each` from vec, HashMap and HashSet
auto merge of #7373 : thestinger/rust/iterator, r=huonw