Mirror prerelease gems

Addresses https://github.com/rubygems/rubygems-mirror/issues/6. Commit is largely based on https://github.com/mdkent/rubygems-mirror/commit/57a016e.