Discover image content type

Don't assume jpeg
Merge pull request #17 from azavea/bugfix/image-content-type

Discover image content type