document: Avoid parsing codespan as a fence (fixes #84)
document: Move list typechecking logic to right location (fixes #102)
document: Allow footnotes to be parsed when link == NULL (fixes #66)
document: Allow images to be escaped (fixes #108)
document: Simplify char_link(...)

(This is to prepare for next commit)
document: Use find_emph_char for links (fixes #106)

As long as there's a valid matching ] at the end, and there's no
codespan inside the link, things should render exactly the same
as before. Please review this.
document: Better fix for #84

Made stricter: now it'll only reject the codefence if the delimiter
that was used to start it is found three consecutive times.
document: Make replace_spacing collapse newlines
hoedown: Correct flag description
document: Optimize replace_spacing to pregrow output buffer
document: Never omit the newline on sublists

See https://github.com/hoedown/hoedown/issues/102#issuecomment-52290938 for discussion.
document: Simplify finding of HTML block end tag
Merge pull request #110 from jmendeth/moar-bugfixes

Moar bugfixes
Keep up to date with master

Conflicts:
	src/document.c