fixes to get-page.php, cURL now working
cURL functions put into class
use Sharepoint_cURL class for get-image.php