Added new data formatting tools. New constructor setting response_type that accepts json, array, or xml. Can set response using $basecamp->setResponseType() as well.
fixed the error reporting for user validation and the curl request. This will now die the application and report the message