Only accept SRCocoaModifierFlagsMask when creating a shortcut.
Implemented -hash for the shortcut class.
Fixed SRShortcut unit tests broken by refactoring.