Implement showing parents of objects

This implements an additional menu next to "View references" to see parents of objects.