Merge pull request #77 from oreillymedia/htmlbook-xsl

Standardized error handling
Modularized TOC title value generation to separate toc-title template.