Fixes for depth parsing

#35 gives some examples which this fixes. Basically, the depth parser (which relies on the internal citation grammar to determine where *not* to break paragraphs) was not handling a few types of citations correctly.

This patch modifies the internal citation parser to handle those types of citations. It does not, however, add all the associated links (for example, to appendices).