Imlement mechanism to iterator over a container. Implement max(iterable) and min(iterable)

What do you think about this approach?
I like it more than the the lambda thing I tried in: https://github.com/dropbox/pyston/pull/51