Update tests following changes in rhaptos.cnxmlutils

- Change data-type="title" to data-type="document-title" for the
  document title
- Add glossary to the end of the document
- Sections with titles change from <div> to <section>
- Section titles use <h2> instead of <div>
implement redirect for legacy ids