add a trait for mutable iterators

This can eventually be implemented on other sequence containers like `deque` (it's missing `each` too at the moment).