xml-encoding values in sabredav error responses.

Fixes Issue #237 in 1.6

@evert:
This PR is actually just
````
git checkout 1.6
git cherry-pick 1d5e42cabbf193896f905a5c2e264c2d83d8f9e4
````

Up to you: merge the pull request or execute the commands your self! ;-)