Rename simple Image 'type' field to 'imageType'

Renames simple `Image`'s `type` field to `imageType` and its related
methods to `getImageType` and `setImageType`.