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

fixed bug for retrieving compressed and bulkd data outputs (skip fully
was called twice, once by the lib and then by the outputstream writer
for a single fragment)
added png retrieve.
Revert "[#ARCH-137 Support returning GIF/PNG/JPEG/JPEG2000 Image types by WADO URI]"

This reverts commit 348dc37db0936e9ba4c52f1bd2f15e9a52c8b2c2.
Revert "Revert "[#ARCH-137 Support returning GIF/PNG/JPEG/JPEG2000 Image types by WADO URI]""

This reverts commit b471d181cdcf3bf2c941e3df734041df827a67b9.
[#DCMTEST-16] Create a dcm4chee-arc-query unit test; cleaning up POM.
[#DCMTEST-16] Create a dcm4chee-arc-query unit test; reformatting.
[#DCMTEST-16] Create a dcm4chee-arc-query unit test; reformatting.
Revert "[#DCMTEST-16] Create a dcm4chee-arc-query unit test; added testing dependencies."

This reverts commit ff08a3872cedefda990aa66171a21244914bcd1e.
[#ARCH-137 support returning GIF/PNG/JPEG/JPEG2000 Image types by WADO URI]

support retrieving metadata from configuration if exists or using
default metadata for the writer for gif sequence
remove un used import
[#LIB-233 Configuration for dcmImageWriteMetadata]