GraphQL: Handle properly formatted GIDs with nonexistent model names

It turns out that any "global id looking" object results in an error if the model is bogus.

to test:

query {
  group(fullPath: "group") {
    board(id: "gid://group/notreal/whatever") {
      id
    }
  }
}
Edited by charlie ablett