Add options to URI::GID to store simple metadata as query parameters.

Fixes #39.

Ready for review :grin: