Moved code around, added option for raw output

Setting raw = True allows direct reading of data from the MPQ file,
without decrypting or decompressing data. Has little use, except for
debugging.