XeroAPI/PHP-Xero — pull request #2 by drewm (2012-05-01 12:38:45+00:00)
Title: Fixes issue with response documents not being returned when JSON is used

What I perceive to be a logic error stops the API response being returned by the `Xero` class when using JSON.

Also fixes a minor error in the Contact example.