Add support for TAP (test anything protocol) output

I would like to specify an index so that the index of a test stays consistent, even if someone adds a test in the middle of the list.

--brendan