Add the option of chapter separator

if separator is 'header', will split chapters at <h1>, <h2>, ...
for example:
	<h1>chapter 1</h1>

if separator is 'comment', will split chapters at the commented <h1>,
<h2>, ...
for example:
	<!--<h1>chapter 1</h1>-->