Added a missing markDirty in AdaptorIInventory
Merge pull request #464 from yueh/fix-446

Added a missing markDirty in AdaptorIInventory to update other inventories on inserting items, fixes #446