Proposal for accessing populated relations

fixes #842

- allows checking whether a relation has been populated
- getting a list of relation names that have been populated
- getting all populated relation data

todo:

- [x] add phpdoc