Ged rid of MemReader, use mutable reference to a slice.

https://github.com/rust-lang/rust/pull/18980
This implements Reader for us.

With this commit we finished using both MemWriter & MemReader.