Use wp_remote_get() Instead of CURL

Edits made to the plugin foundation to accommodate the use of
wp_remote_get() rather than CURL when requesting from the API,
including response error handling. Also some var name changes for
semantic clarity.