Implement Iterator protocol on Repository

Uses a stupid implementation that builds a list in memory and returns
it's iterator.