FOP-1099: process footnotes coming from table headers or footers
The footnote will appear once at the first (resp. last) occurrence of the table-header (resp. -footer).

Patch by Matthias Reischenbacher, applied with modifications.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1599344 13f79535-47bb-0310-9956-ffa450edef68