GEOS-4834: original patch to fix transparency in animaged gif + tests (backport to 2.5.x)

this is actually the patch from Simone Giannecchini, with one little
fix in RenderedImageMapResponse to make it work (again).
see: https://jira.codehaus.org/browse/GEOS-4834