Replace MIN and MAX with std::min and std::max where possible.
Merge branch 'master' into engine-upgrade/c++
Get rid of Q_bound() and add Maths.h.
Fix a naming error.
Get rid of Q_clamp where possible.
Hide copy CONFIG_FILE.tmp to CONFIG_FILE spam on Windows
Fix crash in OpenAL when no input devices are available
Update pdcurses
Use a vector rather than a map for keeping track of vm cvar handles
Handle negative vmCvar->handle values
Fix msvc builds
Fix conditions that would always evaluate to false
Use C++11 initializers for WORLD_CALL and NULL_CALL
Fix crash upon openning menu when not using OpenAL

Thanks Fuma for debugging
Cvar: return the description after OnValueChanged (e.g. allow automatic types in descriptions)
Quick fix for the options menu not working for latched cvars
Cvar: handle the case where a NULL string is sent to Cvar_Set
Only set ROM startup variables once
Use openal-soft on Mac
Fix native qvm module output name