Add gallery layout.

The new gallery layout is a combination of the old full-width galleries
and the gallery/fullsize combo layouts.