Implement a reference iterator

Wrap the reference iterators, and provide a Iter() function to get
them through a channel.
Merge pull request #26 from carlosmn/ref-iter

Implement a reference iterator