h5py-like API: iterate over groups should yield the current content and not wait
Reported by @retegan
Currently iteration over groups is treated the same as iteration over datasets: the iteration ends when the scan is finished. This means that for the top-level group, the iteration is never going to end because there is no scan.
I propose to change the behavior of iteration over groups: it stops iterating when the last child has been yielded.