Add a setting to disable automatic image types

The heuristic for selecting the type of an image based on the filename
can get confused quite easily, so provide an option to disable it.

https://bugzilla.gnome.org/show_bug.cgi?id=738804