Added more returned data and setTokenFromRequestSynchronous

Hi Guy

I would like to add more functions to your Nuxeo SDK:

- Added returned error when connecting to server
- Added setTokenFromRequestSynchronous

Could you please re-check it?

Thank you