Refactored htmlbook:is-chunk and htmlbook:chunk-for-node functions so that they no longer use global params/variables.
Skeleton for tocgen XSpec tests.
First set of passing tocgen tests.
Next set of tocgen XSpec tests.
More XSpec tests for tocgen.xsl
Merge branch 'master' of github.com:oreillymedia/HTMLBook into xspec
Adding toc.section.depth parameters to tocgen templates for XSpec purposes.
Fleshing out XSpec tests.
Fixed error in local toc-placeholder-overwrite-contents param declaration.
Merge pull request #118 from oreillymedia/xspec

Refactored function handling and added XSpec tests for tocgen module