Import changes from ruby-build v20140524

This requires `PYTHON_BUILD_MIRROR_URL` to migrate their cache filename from MD5 to SHA2. Need some extra works on https://github.com/yyuu/yyuu.github.com.