Setting default compression_mode when not set, specially for GIFs

I found that Sun implementation of GIF image writer doesn't have set `compression_mode` by default so I added a code which sets it to first found when it's missing. 

It fixes #12 and my issues with saving GIF files in Image_voodoo.