Fix regions as top-level elements in layouts

Region transclusion didn't work when the region element was a top-level
in the layout file (i.e. when there was no wrapper, as in the README).
This commit includes the top-level elements in the loop, so any element
can act as a region container.