vec: rm old_iter implementations, except BaseIter

The removed test for issue #2611 is well covered by the `std::iterator`
module itself.

This adds the `count` and `contains` methods to `Iterator` via an
`EqIterator` trait, to replace `EqIter`.