API: change signature of RendererFactory.newRenderer

The new root element parameter is needed for renderers that need to do
some analysis on the whole tree before rendering like the new XSL-FO
renderer.
remove unreachable case
add fo renderers for footnotes and citations