Template header and footer

Include document headers and footers in template find & replace functionality.