Add "preserve image metadata" user preference

The preference is user-editable, and it is properly saved and loaded
from the INI file, but it is not actually implemented yet - that will
come in the next few days.