Support doctest

Here's a more recent and more complete take on adding doctest support back to nose-machineout.

It supports the various forms of doctest output that I have seen so far.

It includes a doctest to test its own support of doctest output.