Fix map width for checking distances between tiles

CPU performance improvements

By EmperorPinguin:
- Simplify military unit attack value 
- Disable fort placement for AI 
- Fix unit automation order 
- Bugfix AI friendly fighter counting 
- Better Cover, Charge promotion priority for AI
- Let AI build quarries for Stone Works 
- Move unit promotion ahead & Exclude wounded melee from automateCityConquer 


Fixed battle notification texts issue - By GameCobra