Identify extension and set content type.
Add image info, set mime type correctly #3
Merge pull request #9 from KenStipek/mime-type

Closes #3