Core/SAI: Make SMART_TARGET_OWNER_OR_SUMMONER also work for creatures summoned by spells
Tabs to spaces...
Core/Guild: Fix memory leak on Guild disband

Fix memory leak when disbanding a Guild, removed from GuildMgr but never deleted. Due to the different ways of how Guild::Disband() and Guild::DeleteMember() are called, each call to these methods has a different way to delete the Guild if empty/invalid.

Valgrind log:
 2,127 (240 direct, 1,887 indirect) bytes in 1 blocks are definitely lost in loss record 54 of 81
  at operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  by guild_commandscript::HandleGuildCreateCommand(ChatHandler*, char const*) (cs_guild.cpp:91)
  by ChatHandler::ExecuteCommandInTable(ChatCommand*, char const*, std::string const&) (Chat.cpp:339)
  by ChatHandler::ExecuteCommandInTable(ChatCommand*, char const*, std::string const&) (Chat.cpp:320)
  by ChatHandler::ParseCommands(char const*) (Chat.cpp:466)
  by WorldSession::HandleMessagechatOpcode(WorldPacket&) (ChatHandler.cpp:217)
  by WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:317)
  by World::UpdateSessions(unsigned int) (World.cpp:2632)
  by World::Update(unsigned int) (World.cpp:1989)
  by WorldRunnable::run() (WorldRunnable.cpp:60)
  by ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186)
  by ACE_OS_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so)
Core/Battleground: Fix scoreboard

Fix scoreboard broken in 07d793b94b60941ea08fd6170d8165994452c49c . A local variable in a loop stored data of the iterator before incrementing it.
Merge pull request #10730 from jackpoz/scoreboard_fix

Core/Battleground: Fix scoreboard
Core/Condition: Added CONDITION_SOURCE_TYPE_PHASE_DEFINITION define for only 4.3.4 branch
Scripts/Spells: drop obsolete code
Merge pull request #10716 from Discover-/SAI_Owner_Or_Summoner

Core/SAI: Make SMART_TARGET_OWNER_OR_SUMMONER also work for creatures su...
Merge pull request #10724 from jackpoz/guild_disband_leak

Core/Guild: Fix memory leak on Guild disband
Core/Battlegrounds: Allow random BG winner/loser rewards to be configurable

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
Scripts/Blood Furnace: Fix possible compile errors on old VS versions
DB/Updates: AI fixups

By @Aokromes, fixes #10733 #10728
DB/Sai: Teron Gorefiend, I am... 

Added horde version for the script also.
Core/SmartScripts: Fixed heap corruption in SMART_ACTION_EQUIP

Closes #10739
DB/SAI: Trapping the Light Fantastic (10674) & Gather the Orbs (10859)

Fixes #7202
Adds support for the Alliance quest also, and makes the orbs go in tandem with the horde version script.
DB/Update: Needs null spawndist
Core/SmartAI: Fixed creatures using SAI not attacking its charmer after it breaks

Closes #7601
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4

Conflicts:
	src/server/game/Battlegrounds/Battleground.cpp
	src/server/game/Battlegrounds/Battleground.h
	src/server/game/Battlegrounds/BattlegroundMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
	src/server/game/Guilds/Guild.cpp