BUG: Update attribute system when entities have been expunged
Now smtk would update all modelEntityItems inside the attribute system when entities have been expunged.
A utility function is added into attribute so that developers now could find a certain type of items without any miss.