use GitHub blobs API

instead of raw.githubusercontent

at the request of GitHub support.

This also fixes the blob->tree redirect, so that test is unskilled.

Still some testing to do before merge.
Merge pull request #281 from minrk/blob-api

use GitHub blobs API