added AnimatedGif.setOutputCallback in addition to setOutput file

allows you to set callback(dataChunk) and stream gif frames