Changes to enable XML Output Formatters.

Functional tests for Output Formatters are not a part of this PR. Will follow up with Functional Tests after @harshgMSFT's conneg check-in.
Needs a rebase on dev. CancellationToken is no longer part of the interface.