allow to set callback as gif writer
Merge pull request #12 from sidorares/gif-stream

added AnimatedGif.setOutputCallback in addition to setOutput file