minimially extracts from docbook
add space after heading, top level media object support
take output path arg
add literal support to relevant entities, capture id on section titles
trim item whitespace, fix chapter title, fix section id if none
fixes for image placement and title new line handling