Explode footer into an object, rearrange fields.

Explode footer into an object. Rearrange fields to put the ones that are
used to rebuild the page toward the front of the header, but since we're
exploding the header, it doesn't matter so much.

Closes #253.