Fix broken keyboard shortcut capturing for combos that include Shift

This should fix that many Shift key combos were displayed wrong
in the capture dialog and didn't work afterwards.

See commit message for details.

Tested on MacBook Pro and 10.8 and Qt 4.8, Would be good to test this
also on Windows/Linux, also with extended keyboards (numpad keys).