Generate headers and footers

- rm headers and footers in layout and add them git .gitignore
- generate the headers and footers dynamically so usemin and rev
  work correctly.
- adjust paths to be absolute instead of relative for headers
  and footers so they can work as templates.