Moved test code to its own folder.
Made ResourceManager::Unpack return a boolean, fixed bugs in Unpack.