[12478] Add some safety to rare case of target-selection for unreachable target

Thanks to Atari for reporting and researching this problem
[12479] Enable using table creature_linking with empty table creature_linking_template

Note: Guids are evil!
Close cmangos/issues#148
[12480] Improve unsummoning of wild-summoned GOs

This will fix some problems ie in Sunwell, thanks Atari for pointing

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12481] Fix a bug with vmap extraction

This bug appears to have no real impact in wotlk
[12482] Implement target limitation for spell 72254

Note: For the spell to actually work, you will need to append a database-update from http://cmangos.net/thread-201.html

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12483] Improvements for NPC summoning code

* Inherit faction for guardians and similar - this will prevent a bunch of pet faction related error messages
* Inherit level from responsible caster and not only caster
* Improve default position selection for summon spells for GO-casts
[12484] Fix a stupid mistake from me introduced in [12472]

Thanks to boxa for pointing
[12485] Improve WaypointMMGen

* Add correct Reset position (Npc will evade now to the last reached waypoint, and not to the next waypoint)
* Add proper return value for the CONDITION_LAST_WAYPOINT

* Let WaypointMMGen behave better after evading (keep PAUSED state, keep waittimer
[12486] Fix guid sent in SMSG_PLAYERBOUND, it should be caster's guid, not player's

Signed-off-by: stfx <stfx@hotmail.de>
[12487] Improve alcohol handling

Fixes client crash when using Barbershop Chair while drunk

Also allow .mod drunk to modify the drunk state of the targeted player

Signed-off-by: stfx <stfx@hotmail.de>
[12488] Add visual vomiting to Spell::EffectInebriate

Vomit chance is guessed

Patch 3.2.0 (04-Aug-2009): A "Drunken Vomit" feature was implemented. This causes the character to "vomit" upon drinking too much alcohol.

Signed-off-by: stfx <stfx@hotmail.de>
Change Debug Output to EventAIError output if no target is found
[12489] Stop movement of dead npcs

Close cmangos/issues#213
Also thanks to pyromaniac for posting this bug on the forums (and a few users for confirming)
[12490] Keep CombatMovement, Running and Waypoint-Paused states after evade
[12491] Add additional miscValue to AIEvent throwing
[12492] Fix spell 61254

* Also rearrange code for Aura::HandleAuraModIncreaseHealth
* Fix some behaviour with SetHealth/SetPower if set to max health/power
[12493] Fix (at least) two false positive startup errors

* Fix startup-error related to quest 10162
* Fix startup-error for spell 53821
[12494] Fix SMSG_BINDPOINTUPDATE and SMSG_PLAYERBOUND sent data

also improve DebugLog output
[12495] Implement some spells for Ahune encounter

Spell entries: 46371, 46372 and 46430
[12496] Add some doxygen documentation

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>