Improve tests before refactoring
Fact::Collection#(resource|context)_subjects
Add Graph#resources and #contexts

* proper implementation based on resource_subjects and
  context_subjects