added new files for the imagefactory
modify imagelib to work with the imagefactory
modify JpegIo to work with the imagefactory
changed image loading and thumbnail writing to use the new imagefactory and our vfs.