Debugging in index facility
DOCX Input: Fix formatting of the generated Index when the index is complex, i.e. with lots of references to the same item, multiple level of sub-items, etc.

Merge branch 'master' of https://github.com/pgarst/calibre