Fix bugs related to deleting CardDataImage rows.

Extension apps and/or Catapult could crash because IDs were not handled
correctly. Fixed that. Removed extra '/' in Uri path constants. Fixed id
parsing in PublishableCard.

Change-Id: Icc730383f50680b34fce8768967c91e5ff8e72ba