Implement deletion handling for CardDataImages.

Maintain a map from CardDataImage id to CardData for fast access. When a
CardDataImage is deleted, remove it in memory and notify listeners to
update the Card whose image was deleted.

Change-Id: I1edba17ccb4140505e20a441c3fe4de82c6c2eed