Refactored the Image export/import classes.

Changes include extracting the image exporters/importers out of the
ImageExporter/ImageLoader classes, since it is a giant mess to look into
that class. Now, with all exporters/importers in their own classes,
order is restored and everyone can continue writing IO-code without
getting insane over the mess that we all produce!