Chunks that are covered by galleries generate with schematic content.

This is a partial implementation for #22. Only chunks that are fully covered by a single gallery will have their contents replaced by the gallery's template.
Galleries are completely generated in new chunks.

This fully implements #22.