Allow Gifs to be parsed by Image Versioning

This would previously only work on png and jpg files.  Tests have been
added for all three cases.
Merge pull request #17 from Andrew-Hagedorn-ZocDoc/FixGifImageParsing

Fix gif image parsing