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.

It is still a "workaround" to have style in the footer and header but in my humble opinion a slightly better option than the previous one.