More error checking & indent corrections

Corrected pull #40 for curl_info after curl_exec (ooops!)
Corrected pull #41 cosmetic fix for placement of Pest_ServerError class def
Error checking addition to JSON & Curl + cosmetic indent corrections

Backwards compatibility minimal impact on by only adding exceptions
New exceptions do not go thru processError