Added support for connectivity errors

- A ConnectionException will be thrown, when the library is unable to
connect to Sparklr
- Added missing XMLDoc
- Fixed WebClient, throwing incorrect exceptions when the user is
logging out.