Added the option to ignore `closed` related documents.

- removes any closed related documents upon dehydration
- adds their resource_uris back in upon hydration so they don't get
  destroyed.