Update windows Memory Viewer: Attempt automatic pause/resume when dumping RAM

May need testing.
Ask the user about resuming emulation after memory dump completed.
Replace mainwindow.ui with C++ so that it is easier to maintain.
Qt: Update languages and translations code.
Qt: Some more improvements to the code.
Qt: Clean up messy code.
Automatically resume emulation after memory dump only if the emulation was active beforehand
Merge pull request #4575 from pal1000/master

Update windows Memory Viewer: Attempt automatic pause when dumping RAM
Qt: Remove controls. Undefine emit so that it is easier to use Qt headers in native files.
Use correct home location for Blackberry. Hide /home/sacha paths.
Attempt on fixing breakage caused by pull #4575 by using a simpler and more cautious coding
Fix: Auto resume emulation if emulation was in running state to begin with
Attempted an indentation fix
Merge pull request #4580 from pal1000/master

Fix for broken pull #4575: Automatic pause/resume when memory dumping - by using a simpler and more safer coding
Windows Qt 5 build fixes

The issue is that there's a distinction between UNICODE and _UNICODE
on Windows, to prevent build errors like TCHAR being a wchar but _tcsrchr
expects a char*

Additionally I get some issues under Qt5 by including <QtGui> it loads
the qt gl function loader and fucks with GLEW. I'd love to see a better
solution without an ifdef, so discuss before merging.