Core/Battleground: use generic function to relocate players to closest graveyard
Core/Misc: replace (Player*) casts with ToPlayer()
Core/Spells: use SpellInfo class to get spell rank instead of SpellMgr helpers
Fixed compile warnings
Core/Creatures: Removed vendor item check during loading, MAX_VENDOR_ITEMS should apply to filtered list of items depending on player opening the vendor, not global list size

Closes #10330
Merge pull request #10319 from joschiwald/casts

Core/Misc: replace (Player*) casts with ToPlayer()
Merge pull request #10320 from joschiwald/battleground

Core/Battleground: use generic function to relocate players to closest g...
Merge pull request #10323 from joschiwald/spellranks

Core/Spells: use SpellInfo class to get spellrank node instead of SpellMgr helpers
Scripts/VH: fix for violet hold's activation crystals

Closes #10129
Scripts/VH: Refactor commit 999843d