Add Image.coalesced and Image.optimized_for_animated_gif

The addition of Image.coalesced and Image.optimized_for_animated_gif will allow animated GIFs to be resized without issue.