updates request error handling
Adds try-catch error handling to the result of the makePublicRequest and makeRequest methods.
Sometimes the CampBX API will respond with a string which causes an error during JSON.parse.