Add tests for footnotes
Add footnote parsing/rendering support

Fixes GitbookIO/gitbook#395, fixes GitbookIO/gitbook#134, fixes
GitbookIO/gitbook#237

Based off https://github.com/chjj/marked/pull/431
Merge pull request #2 from GitbookIO/feature-footnotes

Feature footnotes