#3437 Fix some semantic HTML errors; review mag layout markup

- Move ad module to module's partials
- Move scripts to its own include file
- Move foundation settings to global directory
- Remove IE conditional for HTML class