Add xml payload response support
ELEMENTS-1279 Improve nuxeo client mock to return content-type header
PR for master: #81
PR for master: #304