[12764] Fix more remaining sql-errors from recent pvp-stats updates
[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
[12769] Reverse pvp team indexes for score statistics storage

This updates [12756] and makes @ShinDarth happy

Close #140