Add blank lines at the end of each markdown file to make Pandoc work correctly.
Keep track of multi-part chapters, make titles more consistent (title roman numeral), and treat titleless chapters as if they were the next part to the previous chapter.