[z2317] minor CMake cleanup

- execute the CMake version check as the first thing in CMakeLists.txt
- simplify check for out of source build
- removed some unused and commented code

(based on commit [12407] - b775c74)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1935] - 50b6dc4)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2318] Correct a little typo in mangos.conf about MapsLoading log filter.

(based on commit [12404] - 9cd2a00)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1936] - c9d5afe)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2319] Allow spell effect 77 (ScriptEffect) and aura 226 (PeriodicDummy) to be handled by script library

(based on commit [12409] - fc443ca)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1937] - 9a25c36)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2320] Fix possible crash due to [z2294]

Thanks Schmoozerd for pointing

(based on commit [12418] - 35ad0ea)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1938] - 0c285cb)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2321] Improve debug log output for learning/unlearning spells/skills. Thanks to NeatElves for pointing

(based on commit [12412] - d7fa0ee)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1940] - 86773d8)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2322] CMake cleanup

* remove unused code
* add TODOs
* move all options to one place
* add all options to the information output
* mark most output as STATUS

(based on commit [12413] - a3fb8b3)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1941] - 682910e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2323] CMake: strip the trailing newline from ${GIT_RESULT}

(based on commit [12414] - 70c4f60)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1942] - d8a1a4f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2324] Avoid creature not respawning when not looted.

This occurs when corpse decay time is bigger than respawn time.
This is not blizzlike, to permit a creature respawn when its corpse still exist we need a complete rewrite of creature pool system.

(based on commit [12415] - 5c87c13)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1943] - cc27189)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2325] Add support for XP-Gain disabling

This will maintain compatibility with master, nothing more

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [12420] - 871161f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1944] - 6d9a171)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2326] Implement CONDITION_GENDER Thanks to crackm for testing

(based on commit [12421] - c73504e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1945] - 0644eb7)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>