Adding options to set header and footer in PDF generation
Force type of header and footer templates
Merge branch 'alexandreaquiles-pdf_header_and_footer'