Core: Add "GetRaceNameByID" and "GetClassNameByID" to get localized class and race names.

Core: Add "GetRaceNameByID" and "GetClassNameByID" to get localized class and race names.
Core/Misc: Fixed a bunch of issues found by static analysis
Core/Misc: Another batch of fixes for issues found by static analysis
Core/Vehicles: Fixed a crash that happened during seat changes searching for a previous free seat

Closes #9609
Merge pull request #9815 from Ascathor/master

Core: Add "GetRaceNameByID" and "GetClassNameByID" to get localized class and race string.
* Batch of fixes for issues found by static analysis.
* Another issue found by static analysis fixed.
* Some more static analysis issues fixed.
* Another small batch of fixes from static analysis tool.
Core/Build: Fixed the build
Buildsystem/MSVC: Fix a minor issue with /Zm heap allocation parameters not being used 32-bit environment
Reverted part of 8be181c7e60daf9833044da61b379c2136892c37 that was not supposed to be pushed
Core/Collision: Corrected logic for closing source file in WorldModel_Raw::Read, fixes resource leak if method succeeds and prevents double free if it fails.

Closes #9823
Reverted part of 60a88a08f5e85c1986aee49f9bfdbf8fa254f370

All 8 bytes must be read from file to match output from vmap4extractor
Scripts/Misc: Fixed many scripts not executing one of their actions because of an event with id = 0
Core/Spells: Fixed channeling spells with infinite duration
Core/Misc: Another batch of fixes for issues found by static analysis
Core/Misc: Another batch of fixes for issues found by static analysis
Cmake: Fix typo in msvc/settings.cmake
MMAPS: Update mmaps_generator readme.txt with thread info