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.
Merge pull request #2 from TrinityCore/master

pull