Introducing input XML Formatters.

TODO: Stylecop.
XmlOutputFormatters will be in a separate PR.
Wouldn't this be `If NET45`? I thought these methods don't exist in CoreCLR?