Core/Transports: Fixed creatures micro movement on transport when attacking something (fixes interrupting melee animation)
Core/Misc: Fix some static analysis issues

Add some asserts and additional NULL checks as sanity checks.
Scripts/Spells: fix logic fail in q9874
Merge pull request #11761 from MitchesD/misc

Scripts/Spells: fix logic fail in q9874
Core/Misc: Fix some static analysis issues

Fix some static analysis issues about:
- uninitialized values, most of which are false positives, always initialized before being accessed
- unchecked return values
- dead code never executed
- bad formatting leading to wrong behavior

Please ensure EventMap is never used with event id set to 0 or those events will never execute.
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore
RS added instance bind flag to first 2 bosses on 25h