New implementation of the sections parser.

- More correct.
- Cleaner algorithm.
- Clearer API: parse_headings! -> parse_sections.
- Re-numbered sections to match asciidoc and asciidoctor.