Implementation and some tests for inline footnotes. Also I noticed the list items had the wrong ids, that was silly of me.