Parser and tests for all pass and all failure cases.

Refs #9874
Finish parsing of mixed pass/fail document.

Refs #9874
Write out xunit XML when Sphinx build has finished.

This only happens if the builder type is set to doctest.
Refs #9874
Add a test for multi-document output.

Refs #9874