ENH: Added the ability to remove invalid associations
- added removeInvalidValues to ReferenceItem. This will remove a value from he item if the corresponding resource of the item is in memory but the resource does not contain the value.
- added a test for the above method
- modified the association widget to remove invalid asscoiations when it is refreshed
Closes #362 (closed)