Support for multilevel TOC in EPUB and HPUB front- and back-matter (#1047).