Fred: make counter_calc work for village CA again

And thereby reenable the village grabbing CA.
fred_gamestate_utils: add id= key to leaders table
Fred utils: rename defense_map -> defense_maps

To be consistent with naming convention
Fred utils: use { defense = value } format for defense_maps

To be consistent with other maps
Fred utils: rename reachmaps -> reach_maps

For consistency with other maps
Fred utils: rename reachmap -> reach_map
Fred utils: use { moves_left = value } format for reach_maps
Fred utils: rename unit_info -> unit_infos

Yes, I am aware of the fact that the plural of information is
information…  This is done for coding clarity, not grammatical
correctness.
fred_gamestate_utils: change order of variable assignments

Purely cosmetic
Fred utils: put mapstate tables directly under gamedata

… not under gamedata.mapstate; that’s simply not necessary.
Fred: add missing space