add debug for error in the server
Merge pull request #1190 from dotcloud/1189-add_debug_error

* RemoteAPI: Improve debug