Use correct delays for each frame, also total duration is defined by the GIF itself.
read and handle frame durations (delays) from GIF data

Also add comments to the header file, clean up the implementation generally, and add another test image with variable frame durations.
diegopeinador link in README.md
Merge branch 'delays-from-GIF'