Section numbering

- keep track of the index of each section as it's added to its parent
- create a method for generating a section number
- add section number support to backend templates
- add convenience method to retrieve child sections from a parent block
- tests!

Note that the section number is not applied to the DocBook template because DocBook has it's own mechanism for assigning section numbers.