Core/Unit: Add switch to prevent COMMAND_ATTACK being added to action bar for supplied creature entries.
Core/Misc: Remove unused code

Remove unused debugging code added in MaNGOS r5067.
Remove dead code from a switch found by Coverity.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore