[#ARCH-137 support returning GIF/PNG/JPEG/JPEG2000 Image types by WADO URI]

extracted one method and removed unused setGIFMetadata method