Markdown: Fix Outliner tests

Also fix one actual bug!
The last artifact wasn't being outlined.
Markdown: Outliner cleanup

Reduce nesting
Remove unnecessary test class comparisons
Add test case for quotes