Fixed Shadowspawn unit class discovery code to use existing Infos information.
Tweaked victory condition setup and Last Battle logic to properly trigger the Last Battle at a hard-coded turn number.
Added guards to Last Battle Lua API to prevent Lua calls from causing the game to enter invalid states.