Flat

I'm putting the final touches to the gallery using prototypes and realized that storing the gallery settings inside `gallery` was giving me problems.

I realize that the idea is to avoid potential conflicts and keep things well segregated, but it makes using prototypes for the Gallery settings next to impossible. It also makes it impossible to specify those with `data` attributes.

I've put this in a branch while I'm finishing the rest.

@noelboss Do you have an opinion on this?