Add XML support

Resolves #123. Appears to work without issue normally, and fails only if `xunit` option given but required package is missing.