Moved footer, main, modals HTML into template directory.

Technically these aren't templates, but they're sort of being used like
templates, and we might move to templates in the future anyways.