[11266] Fixed work glyph 41108 (typo in spell id)
[11267] Restore itemset 647 4p bonus affect work.
[11268] Add dummy effect of spell 43014

Signed-off-by: NoFantasy <nofantasy@nf.no>
* Mark the functions deterministic to avoid issues with MySQL binary logging.
[11269] Apply to lootPlayerNonQuestNonFFAConditionalItems same loot rules as to notmal shared loot.

Also some code refactoring.
[11270] Let GM (.gm on) always see gossip options regardless of conditions set.

Signed-off-by: NoFantasy <nofantasy@nf.no>
[11271] Add missing copyright to some files in contrib/
[11272] Update previously commit copyright notices. We are in 2011, not in 2010

Signed-off-by: DasBlub <DasBlub@gmail.com>
[11273] Fix the ".gm setview" command

Signed-off-by: DasBlub <DasBlub@gmail.com>
[11274] Updated some more copyrights which were outdated

Signed-off-by: DasBlub <DasBlub@gmail.com>
[11275] Add missing script call JustSummoned for guardian and critter pet

Signed-off-by: NoFantasy <nofantasy@nf.no>
[11276] In dest. point slection must used in world casting object (not owner of cast affects)
[11277] Add dummy effect of spell 48046

Signed-off-by: NoFantasy <nofantasy@nf.no>
[11278] Fixed auras stack size check at loading.

For non stacking auras preserve stack size 1 as auras created instead reset it to 0 at mnext load.
For client no difference in show and most non stacking auras not dependent from stack size value
at server side code, but any way set stack size to 0 can generate unexpected wrong caluclation results
in spell code.
[11279] Remove aura 53031 at 53039 aura removal.

Signed-off-by: NoFantasy <nofantasy@nf.no>
[11280] Drop obsolete code

Debuff from talent 22959 is no longer stackable after 3.3.
[11281] Code cleanup in Player::CastItemCombatSpell
[11282] Use uint32 datatype for aura charges and stacks

* Some spells have StackAmount > 255, for example 22735, 54314
* In SMSG_AURA_UPDATE maximum stack amount is limited by 255
* Move duplicate code into SpellAuraHolder::BuildUpdatePacket function
* Cleanup some weird type casts in _LoadAuras
[11283] Drop the no longer used Visual Leak Detector (VLD)

For leak detection you can also use tools like Valgrind.

If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h.
The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld
[11284] Implement prepared statements for INSERT+DELETE+UPDATE SQL requests. Should improve player save performance + lower MySQL server CPU usage.

Note: PostgreSQL does not have prepared statements implemented using native APIs.

Huge thanks to Undergarun, kero99 and Vinolentus.

Signed-off-by: Ambal <pogrebniak@gala.net>