[z2029] Apply ACE patches for FreeBSD

(based on commit ef79a25)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1641] - e2ed112)
[z2030] ACE Remove sys/param.h includes

These are already included elsewhere if the platform supports it

(based on commit 29cea63)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1642] - d8133aa)
[z2031] Eliminate race condition in World Log. In has been introduced with multithreaded packet processing, and prevents the dump from being written correctly, e.g. with tools.

(based on commit 28b7290)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1643] - 8505dbb)
[z2032] Print stack trace in ByteBufferException::PrintPosError.

(based on commit ffe1938)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1644] - 8f52989)
[z2033] Improve OS detection for windows crash reporting

(based on commit 9646e30)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(cleaned version of 86d740e)

(based on commit [s1645] - cef1654)
[z2034] Don't check registry for game folder on windows, use relative "Data" dir, similar to linux.

Fixes annoyance when you have multiple wow clients and building vmaps fails for reason that extractor takes path from wrong client even though it is located inside the correct directory

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit 6518789)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1646] - 51aac0f)
[z2035] Remove redundant casts in Player.cpp

(based on commit 373b9ef)

(based on commit [s1647] - dabf983)
[z2036] Possibly fix ByteBuffer when no ACE_Stack_Trace available.

Testing required as I do not have access to a system that lacks ACE_Stack_Trace."

(based on commit 2e71d63)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1649] - c83feda)
[z2037] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls since this check is done implicitly when deleting

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit 6576a8c)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(cleaned version of bbbb048)

(based on commit [s1650] - f4382b7)
[z2038] Move some methods from .h to .cpp

(based on commit 7d5b808)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1651] - 7a1ab00)
[z2039] Use a single method to send SMSG_ACTIVATETAXIREPLY

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit afad470)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(cleaned version of 2c602e3)

(based on commit [s1652] - 1c9bf97)
[z2040] Remove unused file MySQLDelayThread.h.

This file also contains at least two errors:
  bad override specifier
  invalid SqlDelayThread constructor call

(based on commit 334e522)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1653] - debed56)
[z2041] Implement SMSG_DEFENSE_MESSAGE for the upcoming opvp system

Also fix callig go type 29 progress event if there is no neutral area (like in Halaa)

(based on commit 957e9f2)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1654] - 02c8898)
[z2042] Fix a warning due to the spell cleanup
[z2043] Use fabs instead of abs for float type.

On some platforms abs has only int overload exists.

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit a4fe021)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1656] - 9da3f2f)
Merge branch 'master' into testing