add exception tests for renderDocument in RenderCommand
mark XHTMLtoHTML5cleanup class as deprecated