added tree cleaning code (preclean) to Renderers

XHTML and DocBook Renderers call preclean from Base Renderer just before
rendering.