Create an Iterator wrapper over IoResults that fail!()s on Errors

Create `io::util::IteratorExtensions` which adds an extension method to Iterators over IoResults to make working with errors easier, especially for simpler programs that don't want to deal with error handling. Also, update the existing IO iterators to produce IoResults instead of suppressing errors. With this change, a simple program that just echos back lines from stdin looks like:

```rust
use std::io;
use std::io::util::IteratorExtensions;

fn main() {
    for line in io::stdin().lines().fail_on_error() {
        print!("received: {}", line);
    }
}
```

Fixes #12368