Enable /Zc:inline and /Zc:rvalueCast compiler options.

To improve C++11 standard conformance.

http://msdn.microsoft.com/en-us/library/dn642448.aspx
http://msdn.microsoft.com/en-us/library/dn449507.aspx
Bump version of pre-commit hook after d38861f.

I didn't notice that we have versioning there.
Use AfxGetMainFrame() when it make sense.

This is mostly cosmetic change, but it also adds another layer of
security in case we call not from main thread. This shouldn't happen
though.
MiniDump: Refactor the code.

- Remove CRT hack, it were disabled and doesn't work anyway.
- Include more info in minidumps.
- Allow to quickly create build with full memory dump by setting
  ENABLE_FULLDUMP to 1.
- Enable minidumps when our code starts and not during static
  initialization. We rely on our code during minidump creation anyway.
  Enabling it to soon could do more harm than good.
- Code simplification.
Prevent showing black bars when window size after scale exceed current work area.

Fixes #4937
WinapiFunc: Little change to allow auto deduce type.
PPagePlayback: Disable after playback combobox if "repeat forever" is selected.