Update gems
Add a TOC to most pages

Fixes #13.
Don't break TOC numbering

Fixes #27.