Fix XML serialize and xml_eql in IE9

This was brought up by @tschaub in #726

Use the xml property instead in IE for serializing XML.
The xml_eql tests were failing in IE9 on a difference between null and an
empty string for namespaceURI of attributes, this difference is not
relevant to our testing so make sure we ignore.