Moved all of the iteration logic out of Util and into a new unit Iter.
Generalised and simplified Iter, and made JSON yield Iterables for everything. The implementation is simpler, and should be more memory efficient.