Refactored the two (well, three now) other places where an object is linked to a scene into ED_object_scene_link()