Core/SmartAI: Add a spellid to SMART_EVENT_TARGET_CASTING. If left on 0, it checks for all spells (like it did without these changes)
Core/Scripts: fix build
Core/SAI: Also use loot recipient for SMART_ACTION_CALL_KILLEDMONSTER when target is SMART_TARGET_SELF (used in four cases in a clean TDB which will be fixed by this)
Core/SAI: Allow using SMART_ACTION_SET_HOME_POS with multiple target types
Dep/G3D: Update Readme.txt
DB/TrinityString: Fix an issue with non-ascii characters encoding

Thanks Warpten for the fix (always import files with mysql --default-char-set=utf8 < file)
Thanks eragon for reporting the issue and testing the fix
Dep/G3D: Fix a typo in Vector3int32 += operator
Core/NetworkIO: Fixed memory leak
Merge pull request #10693 from Chaplain/g3d-typos

Dep/G3D: Fix a typo in Vector3int32 += operator
Core/Thread: Fix race condition in FreezeDetectorRunnable

Fix race condition by replacing a static volatile uint32 with proper atomic thread-safe ACE_Atomic_Op<ACE_Thread_Mutex, uint32>, incremented in WorldRunnable::run() at each world loop and read in FreezeDetectorRunnable::run().

Helgrind log:
 Possible data race during read of size 4 at 0x2400D54 by thread #12
 Locks held: none
    at 0x100FEA6: FreezeDetectorRunnable::run() (Master.cpp:106)
    by 0x1637892: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186)
    by 0x518F555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103)
    by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219)
    by 0x61DAB4F: start_thread (pthread_create.c:304)
    by 0x6C69A7C: clone (clone.S:112)

 This conflicts with a previous write of size 4 by thread #9
 Locks held: none
    at 0x100C23E: WorldRunnable::run() (WorldRunnable.cpp:55)
    by 0x1637892: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186)
    by 0x518F555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103)
    by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219)
    by 0x61DAB4F: start_thread (pthread_create.c:304)
    by 0x6C69A7C: clone (clone.S:112)
Dep/G3D: Fix encoding of G3D-v8.0_hotfix8.diff
Core/SAI: Fix processing linked events when return is used in ProcessAction

Thanks Discover-

Closes #10688
Merge pull request #10689 from Discover-/SmartAI-Killed-Monster-Credit

Core/SAI: Also use loot recipient for SMART_ACTION_CALL_KILLEDMONSTER wh...
Merge pull request #10690 from Discover-/SmartAI-Set-Home-Pos

Core/SAI: Allow using SMART_ACTION_SET_HOME_POS with multiple target typ...
Merge pull request #10685 from Discover-/SmartAI-Target-Casting

Core/SmartAI: Add a spellid to SMART_EVENT_TARGET_CASTING. If left on 0,...
Merge pull request #10694 from jackpoz/loopcounter_race_condition

Core/Thread: Fix race condition in FreezeDetectorRunnable
DB/SAI: Fix quest credit for quest "Burn in Effigy"
Note: Quest need event script
DB/SAI: Fix quest credit for quest "Building a Perimeter"
Note: Quest need event script
DB/SAI: Fix quest credit for quest "Torching Sunfury Hold"
Scripts/Misc: Removed unused fields and fixed a warning about uninitialized value