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
Merge commit '75ca0e1b36143f5af41860e7dfb59e51abdd18fc'

* commit '75ca0e1b36143f5af41860e7dfb59e51abdd18fc':
  Fixed error in local toc-placeholder-overwrite-contents param declaration.
  Fleshing out XSpec tests.
  Adding toc.section.depth parameters to tocgen templates for XSpec purposes.
  More XSpec tests for tocgen.xsl
  Next set of tocgen XSpec tests.
  First set of passing tocgen tests.
  Skeleton for tocgen XSpec tests.
  Refactored htmlbook:is-chunk and htmlbook:chunk-for-node functions so that they no longer use global params/variables.