[gfm] Add support for task lists.

Closes #1165.
[markdown] Fix list highlighting.

Previously, lists following other content weren't always highlighted.