Use min/max templated functions from std (part 1).
Use min/max templated functions from std (part 2).
Merge common property.
Conditionally define `NOMINMAX`.
BaseClasses: build with `NOMINMAX`.
Merge pull request #125 from XhmikosR/nominmax

Use min/max templated functions from std