[PR] Introduce functionality to retrieve a list of associated objects

Given a post ID and an object type, lookup the objects of that object type that are associated with the object belonging to that post ID.

Did I mention object?