resolves #494 output XHTML when backend is xhtml or xhtml5

This pull request supersedes https://github.com/asciidoctor/asciidoctor/pull/705.