replace all std::min/std::max with just min/max

This errors out in MSVC since the inclusion of winsock2.h, CL uses the
macro not the template version.
Revert "replace all std::min/std::max with just min/max"

This reverts commit 28d967cccea6d3b9b639740f41478338b22cecdb.
force use of template version of std::min/max
Full modal dialog functionality
Added enter / escape button to minimap flag window
onOutfitChange fix
New pvp modes to combat controls
Tiny setPVPMode fix
Fix 7.6 protocol issue / Typo
Checkboxes fix
Fix compilation under MSVC

Use template for std::min and std::max
Fix indentation
Use of clamp
Little mistake
Try to fix compilation
Mistake
Indentation
Merge pull request #387 from conde2/master

Fix compilation under MSVC
Navigation for large tab amounts, closes #211
Spawns: add function to find a spawn to place a creature on