Adds a workaround to fix the styling problem when adding header and foot...

The commit fixes a bug that was causing that certain css properties were removed in the whole page overwrote by the function "getHtmlWithInlineStyle" if there was footer or header in the pdf.

It also remove the "body refresh" that was causing that sometimes the pdf page does not draw.

It fixes the problem:
https://github.com/Muscula/html2pdf.it/issues/13
https://github.com/Muscula/html2pdf.it/issues/14
so now one can add only a header or a footer, not always both like before.