Update Client to reconnect using refresh_token (prevents HTTP 401 after successful logins)

* Add function reconnect that checks and tests the token with SugarCRM ping endpoint.
* Add property $refreshToken and get/set methods.
* Add method getToken().
* Move the eventListener registration to setToken function.