Added res archiving functionality.
The required contents of res/ are now compressed and saved to data.dat on the game's root directory. This is done for releases of the game, so that only the Thaed binary and data archive are needed to play.