[Commons] Add item status check because of item updates

Problem statement:

When you add an item from Commons to your course and after some time decide to remove it, Commons will not know that you have removed it and when this item receives an update, you will receive an update message that there is an update for this item in a course where you have already deleted this item. The status of the items that are imported from Commons are not communicated to Commons, so it won't register that users that have imported that item, have deleted it. If the update is done after the item is deleted, it would restore the item for that user and update it to the current version.

Proposed solution:

It would be great if Commons could check if the item is still available in the course (not deleted) when updates are uploaded for an item so that it will only show the update option for courses where the item is still available.

User role(s):

admin,instructor,ta,designer