Create URI::GlobalID scheme

Addresses https://github.com/rails/globalid/issues/6
The `scheme` is hardcoded here to be `gid`, so when will this code ever raise `URI::InvalidURIError`?