Parse TOC (NCX file)

Implementation inspired by
https://github.com/joseph/peregrin/blob/master/lib/formats/epub.rb#L258-
L276