Set custom new handler and throw standard exception.

This prevent handling out of memory exception internaly and allow us to
create minidump when it happens.

Revert "Properly catch a bad allocation exception."
commit 2a0d0c2d49032cad240147db0cb1f252358bc7b6.
MiniDump: Refactor the code.

- Remove custom hooking function. We have mhook for this purpouse.
- 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.
  And 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.
After Playback: Give after playback "once" precedence over loops.

- Disable after playback combobox if "repeat forever" is selected.