Introducing UnitTests for XmlFormatters to confirm that headers are always written before writing the body.

Issue https://github.com/aspnet/Mvc/issues/607.
We are not looking to solve this for the User at a HttpAbstractions level. We just want to make sure, in our formatters, we are not setting any headers after writing the Body.