SugarOnDrupal supporting protocols SOAP and RESTful

I've commited several changes to the SugaronDrupal module a few days ago. Currently, it also supports SOAP if the Soap Client module is enabled. The only reason why is this module a requirement to using SOAP is that it has included a switch and some nuSOAP manipulation so it can use nuSOAP style and code base even if PHP SOAP is enabled.

The current module status as in CVS is:
- Included JSON support for PHP versions < 5.2, using a simple json implementation. This could be replaced using PEAR JSON to be sure that it also supports UTF8.
- Included SOAP protocol evaluation and requesting code, so now it is possible to use any of the available protocols (depending on your settings).
- Only supports V2 version of webservices, until I've found a way to consolidate V1 and V2 responses.

Once installed, a little settings page is available to fill some values:
- WebServices endpoint: "http://sugarserver/service/v2/rest.php" or "http://sugarserver/service/v2/soap.php?wsdl"
- username and password for the connection.

A button also appears in that form to test the authentication options trying to get a valid session with the SugarCRM site.

The configuration can be tested under admin/reports/status page, where the flavor and version of the SugarCRM should appear.