Added backwards compatibility for older versions of mono where monodoc xml did not contain correctly formed xml

Addresses issues in #534
Merge pull request #538 from 7sharp9/master

Added backwards compatibility for older versions of mono where monodoc x...