Add IBelongToARepository

As discussed in #574 and #665, here's an interface that allows access to an instance's corresponding `IRepository` for certain (non-standard) usage patterns.

TODO:

* [ ] Add a meta test that the interface is only ever explicitly implemented