Fix VC++ 2012 Express resource issue, remove custom math functions

- Changed afxres.h to winres.h in resource.rc.
- Added irrelevant files to .gitignore and removed *.user file.
- Added readme file.
- Use NOMINMAX macro to use std::min/std::max.