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
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
Add ERROR_LOG for invalid id and timestamps
Merge pull request #5058 from shenweip/patch-18

Win32: Fix wrong menu item position.
Merge pull request #5059 from raven02/patch-16

Return as ERROR_PSMF_INVALID_ID
Typo fix
Merge pull request #5060 from raven02/patch-17

Typo fix
Merge remote-tracking branch 'upstream/master' into fps2