batch commit to refine blob store

use apache common-imaging to get image metadata.
change ImageMetadata class name to ImageAttributes
refine the method to resolve image key to image attributes