A patch to add the equivalent of JsonSettings for Xml.

The XmlSettings is to allow setting default options when serializing xml. In my use-case, setting the Encoding.

I've added a boolean property EncodingEnabled and defaulted it to false so as not to break any existing usages. Other than that DefaultEncoding is set to utf-8 just like JsonSettings.