Modified header/footer code to allow page templates to turn off headers and footers, even when header/footer information is available (via showHeader/showFooter).
Modified header/footer code to allow page templates
to turn off headers and footers, even when header/footer
information is available (via showHeader/showFooter).

This functionality was in there, but not working properly,
I think.

However, this fix changed the result of test_issue_199.

When I investigated, though, it seemed (looking at the logic
in flowables) that the new behavior might be expected/desired,
because there is some code to deliberately disable header/footer
for blank pages (which now happens on this test).

Will require guidance from Roberto on whether this fix is
correct, or if something else should be done.



git-svn-id: 305ad3fa995f01f9ce4b4f46c2a806ba00a97020@1706 3777fadb-0f44-0410-9e7f-9d8fa6171d72

aquavitae/rst2pdf,sychen/rst2pdf,aquavitae/rst2pdf,tonioo/rst2pdf,openpolis/rst2pdf-patched-docutils-0.8,sychen/rst2pdf,openpolis/rst2pdf-patched-docutils-0.8,aquavitae/rst2pdf-py3-dev,aquavitae/rst2pdf-py3-dev,tonioo/rst2pdf