[z2066] Fix some bugs, thanks to LordPsyan for pointing

* Fix an inconsistence between comment and code for model selection
* Improve the macro from recent commit to work with stricter gcc preprocessors
* Fix a bug that caused a crash for not loaded outdoorPvp scripts

(based on commit 5bb227c)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1683] - e803de3)
- Removed outdated file from old autoconf based build system.

Signed-off-by: TheLuda <theluda@getmangos.com>

(based on commit 5646d44)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2067] Fix the language ids and drop some opsolete params - thanks stfx
[z2068] Drop dead code (non-existed spells)

(based on commit [z1769] - 3c9a664)
[z2069] Drop the Skill Discovery and Skill Extra Items - not related to classic

Signed-off-by: TheLuda <theluda@getmangos.com>

(based on commit [z1838] - 49daa44)
[z2070] Update Write Liner Path in Packet Builder for 1.12.1

This will fix move maps, but will not fix the client crashes

Close #7

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
Improve readme

Signed-off-by: Salja <salja2012@hotmail.de>
[z2071] Add RemoveSpellsCausingAura to remove auras of type and caster

(based on commit [12108] - 5e8f186)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1687] - 6910652)
[z2072] Unify changing movement style for Units

(based on commit c1bdd66)
(based on commit [12109] - c10d5fb)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1688] - 6ddd1c7)
[z2073] Keep equipment when transforming by spell

(based on commit [12110] - e479a84)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1689] - f83c9f4)
[z2074] Wrap up the packet sending for a knockbacked player to WorldSession::SendKnockBack

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [12111] - 493dfc2)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1690] - c11211b)
[z2075] Improve EventAI documentation file

(based on commit [12114] - ad660a0)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1693] - 3f48421)
[z2076] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's

(based on commit [12115] - 4cfd787)
(based on commit b65bed5)
(based on commit d88a91ds)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1694] - dd49d7f)
[z2077] Improve error output for Pets without proper faction

Also fix typo in EventAi doc, thanks to stfx for pointing

(based on commit [12116] - 7553b55)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1695] - 7b57d3f)
[z2078] Fix some warnings

* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC).
* Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC).
* Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC).
* Fix a signed/unsigned warning

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [12117] - 783ec4b)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1696] - 19c8832)
[z2079] Cleanup comment style

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2080] Add wrapper to access spell locations

* Add SpellCastTargets::getSource to get the source position (for TARGET_FLAG_SOURCE_LOCATION)
* Add SpellCastTargets::getDestination to get the destination position (for TARGET_FLAG_DEST_LOCATION)

(based on commit [12119] - bd83456)

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [s1698] - 7eed427)
[z2081] Add some placeholders for missing target types

(based on commit [12120] - e1e4376)

(based on commit [s1699] - 449f011)
[z2082] Fix more warnings

* Remove warning: enumeration value '<value>' not handled in switch
* Remove warning: enumeral and non-enumeral type in conditional expression
* Remove warning: too many arguments for format

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [12121] - 8209548)

(based on commit [s1700] - 1c6fc40)
Merge branch 'master' into testing