Added in id to appendix header, so that anchors can work
Fixed the appendix TOC
Added some tests
Merge pull request #161 from khandelwal/master

Fixes #136