Work in progress commit.
Fixed some failing tests by removing code that should never have existed; we don’t ever need to keep track of merge_relationships for objects created on the main context; they are already merged onto the main context! :)