Remove XML related code from RestClient

XML API tests have been removed, but there is still some code related
to XML API tests in RestClient class.
This patch remove it for code cleanup.

Change-Id: I098fe348220bb24c022c4b0753da322e1cdb1893
Merge "Remove XML related code from RestClient"