[12756] Implement Battleground scores storage system

Close #138

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[12757] Add Shaman/Warrior flurry spell chains

Fixes flurry procs related to spell_proc_event table. Closes #392

Signed-off-by: Cala <calaftp@free.fr>
[12758] Add missing SQL update in previous commit
Thanks evil.at.wow for pointing.
[12759] Revert [12757]

Spell chain for these warrior/shaman talents were already added in WotLK core.
[12760] Extend pvp team indexes to global use

Close #139

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[12761] Use shiny new function to play music with the spell
[12762] Fix rooted player continue their movement while rooted for other clients.

http://cmangos.net/thread-6756.html
Thank to Moh for pointing.
[12763] Fix a little memleak. Thank to @kid10. Also fix sql error introduced in 9b7bb67c0eeabfe3e8146e6762231d7869e47f33
[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
[12770] Fix winner team for bg scores storage