Track when a relation is loaded. Fixes #373
Merge pull request #376 from projecthydra/cache_relation

Track when a relation is loaded. Fixes #373