CORE-3963: made some changes to the way that shared items are tracked

This still needs to be tested, but I wanted to push the changes to the repository before leaving for the weekend.
CORE-3963: fixed a few sharing bugs
CORE-3963: removed the AVUs used to mark specific files as shared