Qt buildfix for Qt 5.2.0

adding the -lz in line "LIBS" in Linux section to fix compilation error when compiling under Qt version 5.2.0. See issue #4885
"Next Slot" control mapping

-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
Win32: Add option to disable the Windows key.
Add a comment for the keyboard hook.
Let's be consistent with our spacing and if's.
Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI.
Fix corrupted frames in Dainiji_Super_Robot_Taisen_Z_Hakaihen
When loading a savestate with more ram, realloc.

Also, I'm not sure the extra ram is being handled correctly, I think it's
not meant to be exposed to games except homebrew, not sure of the exact
method...
Revert the gp struct member in mpegs for now.

Unlikely to be used, even though seen in tests, and could be
causing #5045 (just a guess.)
Merge pull request #5050 from unknownbrackets/mem-fix

Fix savestates with non equal pspmodel, revert mpeg->gp
Merge pull request #5040 from zack-vii/NextSlotKey

"Next Slot" control mapping
Fix a few range checks in scePsmf. See #5051
Merge pull request #5043 from thedax/win32IgnoreWindowsKeyOption

Win32: Add an option to disable the Windows key when the emulator is the active window.
Remove keyboard hook and make the ignore Windows key option work.
Win32 buildfix.
Make the unittest build using CMake
Merge pull request #5056 from thedax/win32FixIWKOption

Win32: Remove keyboard hook and make the ignore Windows key option work properly.
Merge pull request #5000 from amirzaim/patch-6

Qt Linux buildfix for Qt 5.2.0
Win32: Fix wrong menu position.
Make more sense to use return as ERROR_PSMF_INVALID_ID