Core/Loot: Fix master loot

Players will be able to open the loot window and see the items in case of master loot.
If the item is under threshold FFA applies, else the item becomes locked.

Also fix an exploit related to master loot item give.
Core/Loot: Implement round robin for under threshold items in case of master loot

Thanks @Shauren for pointing out
DB/Creature: Fix Living Storm coords

By Magnifikator closes #11785
Buildsystem: Changed required CMake version to 2.8.9 and removed a check for version we no longer support in msvc settings
Build system: Fix clang build

See wiki for latest build instructions under Mac OS X!
Scripts/Icecrown Citadel: Fixed Muradin/Saurfang attacking each other during Gunship Battle

Closes #11786
Core/SAI: Implement two new event types that are triggered when a certain creature/gameobject entry or guid gets within a given distance of the source.
Core/SAI: Only allow SMART_EVENT_TARGET_BUFFED to be used from creature sources.
Core/SAI: Allow only creature sources to use the event types SMART_EVENT_DISTANCE_CREATURE and SMART_EVENT_DISTANCE_GAMEOBJECT for now.
Quest: The Power of the Elements

Remove hack SAI, use aura script
Fix non-pch build and remove blank line
Quest: Direhorn Raiders

Remove duplicate kill credit
Core/Misc: Fix some static analysis issues

Fix uninitialized values, most of which are false positives, always initialized before being accessed.
Add some asserts and additional NULL checks as sanity checks. Use SpellMgr::EnsureSpellInfo() if the spell id is valid and always supposed to return a valid not-NULL SpellInfo* .
[TW] core/scripts - If looks could kill / Focused eyebeam movement

-Implement If looks could kill achievement
-changes to focused eyebeams to spawn on target and not kologarn
Core/Battlegrounds: Fix log errors about creatures not found

Move "Battleground::GetBGCreature: creature not found for BG" error log to INFO level when the caller expects no creatures to be found, like on Battleground startup.
Closes #3538
Core/Dependencies: Upgrade to jemalloc-3.5.1
DB/Text: Added the missing page texts for the book "Portals are NOT Garbage Bins!"

Closes #3362
DB/Text: Added the missing page texts for the book "The Archmage Antonidas - Part I"
TDB 335.53 - 2014/03/29
Merge pull request #11719 from Dehravor/master-loot

Core/Loot: Fix master loot