Temporary references

As per #223, this adds a "invisible" subclass to `GTReference` that only points to an OID. This should be used instead of the various `(NSString *)target` parameters here and there.