[12765] Improve EventAI code engine a little bit to be more effective with EVENT_T_RANGE
[12766] EventAI - CodeStyle
[12767] EventAI - SpeedUp OOC-LoS Event handling

Reorder checks such that range and LoS checks are handled after the faster faction checks.
Also introduce a bool variable to prevent iterating all events every MovementAction
[12768] EventAI - Some random changes