Rewrite the pathfinder dirtiness information system.
Remove all hacks while keeping most optimizations in memory management. This fixes incomplete grid updates that could cause OOS on rejoin, fixes #4596.
Tested by: elexis, ffffffff
Reviewers: leper, wraitii
Differential Revision: https://code.wildfiregames.com/D675