Make Wikicode.get_sections() much faster (closes #63).

Patch mostly by @spointy.