Tiled Gallery: Add groups to all galleries.

Also square and circle galleries have groups now, so that overflow is more
graceful when for example zooming out in your browser to say 90%.