Remove unused stuff.
Simplify ScopedArchiveBuffer and move to separate file.

Also fix a warning in jpeg.cpp
Move PointerInputStream to separate file and cleanup #includes
Move RGBAImage to its own file. Remove empty imagelib.h
Move ddslib.h to different VC++ project.
Fix extra qualifier