Add tests for parsing info from chapter page
Move template rendering to output
Add filename setting with jinja support

Page file names can now be specified using filename setting.
Fail entry if outputting a page fails.