Adding Key Terms to the Appendix and Supplement Sections

I parse the XML for the appendix and supplement sections here (the bulk of the changes). There's no new code to generate keyterms because that happens automatically. 

Caveats: this needs more tests, and some code clean up. But in the interests of time - I'm submitting this pull request to get things moving forward.