Fix generation of markdown chapters

Use the very first line of a markdown file to set the title of the
resulting docbook xml chapter.

Change-Id: I2bda0b1c24e54d1c617df82fa5e7fb3f9bce41ca
Merge "Fix generation of markdown chapters"