Adding some more elaborative toStrings to ApiResultException and
XmlApiErrorResult.
Adding some preliminary unit testing around ApiClient.