ImageUtils.getSizeAndType() utility plus tests

Yes, JPEG only.  But it will be a big help for big photos.  If I can do it quickly I'll use it.