[c12774] CMake: Create config.h for windows only when needed

Also, don't use a prepared file but instead just generate it.

This has no effect for Visual Studio, as we still have our hack in place
in the ACE sources which directly include config-win32.h

(based on commit [12570] - 979380b)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12775] Remove effect for spell 62678

This effect is more than a simple random of other spells. See SD2 commit [2963] for details

(based on commit [12571] - 69eeb8b)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12776] Implement Iron Roots removal effect

This will implement the effect for spell entries 62282, 62440, 63598 and 63601

(based on commit [12572] - f3736db)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12777] Implement some missing spell effects used during the Freya encounter

Spell effects 62652, 62217, 62922 and 62262
Aura stacking exception for 62559 and 62538
Dummy auras 62483, 62484, 62485, 65587, 65588 and 65589

(based on commit [12573] - dacf7b1)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12778] Allow server admins to disable GM commands for players entirely.

(based on commit 5fef6f5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12779] Fix crash in ChatHandler::ParseCommands

Thanks VladimirMangos

(based on commit c8e6d97)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12780] Implement spells for Mimiron encounter

Spell effects: 64402, 65346, 63027, 63667, 63681, 64841, 63382
Drop spells 63820, 64425, 64620, 64398, 64426, 64621 because they will be handled by script

(based on commit [12574] - 5b4e851)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12781] Update for Mimiron encounter spells

Add targets limit and spell effect for spell 64623
Remove target limit for spells 63387 and 64531 because they proved to be wrong
Fix mistake for spell 65346; thanks LilleCarl for pointing. This will be handled by script
Finally add positive exception for spell 64402

(based on commit [12575] - 59fdad3)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12782] DB Scripts SCRIPT_COMMAND_EMOTE

Add support to display a random emote.
If dataint1..dataintX is set to an emote, a random out of datalong1, dataint1..dataintX will be sued as displayed emote.

Thanks to grz3s for testing

(based on commit [12576] - a9332b5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12783] Add positive exception for spell 56099

(based on commit [12577] - fe17cd1)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12784] Implement spell effect 45625

(based on commit [12578] - 25c1a8b)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[c12785] Fix build after the latest backports