Improve and expand ways of checking for XML equivalence

Corrected whitespace ignoring in CanonicalXml.
Added Assert statements for XML equivalence.
Merge pull request #128 from andrew-polk/CheckXmlEquivalence

Improve and expand ways of checking for XML equivalence