added error handling to curl use
made github-absolute-query take a single argument, this function should be called with an absolute url, if you need to build one you should probably use the github-query function
added ability to load caches