Added ResCache, fixed zlib

Two big steps.

-Added the ResCache class and the initialization code inside
GameCode4.cpp

- Fixed zlib. There is a bug with the ZLIB_WINAPI definition, fixed by
simply commenting out all references to it. Check attached code for
details. Without this fix, 4 functions from the library cannot be found
in the final .lib