Detect images using HTTP content type.

Changes the algorithm for looking up images from 'gis' plug-in to
perform a HTTP head request and then compare the resolved URL's
content type.
Update to return redirected URL.
Merge pull request #10 from pkwarren/better_image_detection

Detect images using HTTP content type.