Fixes heap corruption in Map::findPath
More fixes in Map::findPath

Fixed the styling, std::unique and removed the priority_queue comment
Optimizations in Map::findPath
Even more fixes

Forgot to clean the garbage generated in the last commit.
Meh, spacing.
And do not delete curly brackets.
Merge https://github.com/shirayukikitsune/otclient

* https://github.com/shirayukikitsune/otclient:
  And do not delete curly brackets.
  Meh, spacing.
  Even more fixes
  Optimizations in Map::findPath
  More fixes in Map::findPath
  Fixes heap corruption in Map::findPath