[ktsui] backport of image_saver patch https://code.ros.org/trac/ros-pkg/ticket/5529 to kate-dev (branched from fuerte-devel, commit 50ddf5c). cherry picked 3c4b04d, 547ecc3, 1dad2a9, 08a290b from groovy-devel