Get correct mime types for Flickr connector

The Flickr photos.getInfo API returns e.g. originalformat="png” (see
https://www.flickr.com/services/api/flickr.photos.getInfo.htm). We can
pass this to get_mimetype as a plain extension (modify the get_mimetype
function to allow simple extensions to be passed in).
Merge pull request #83 from hyanwong/flickr_Mimetype

Get correct mime types for Flickr connector