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.
minor changes
reverts some of the better error handling
wraps the try-catch JSON.parse error handler in an error object
changes result.error to result.Error
also wraps it in an Error object
Update campbx.js
Merge pull request #1 from ameen3/master

Wrap JSON.parse calls in try-catch blocks