Proper footnoting use groff_ms(7) style references.  Also add affiliation metadata support.
Proper footnoting use groff_ms(7) style references.  Also add affiliation
metadata support.

kristapsdz/lowdown,kristapsdz/lowdown,kristapsdz/lowdown