Create URI::GlobalID scheme

Addresses https://github.com/rails/globalid/issues/6
I still wish this whole method was in the `URI::GlobalID` class. Right now this method has to know the format of gid uris and knows what the required format of the app is. Those are things the `URI::GlobalID` class should know.