added NSFunctionKeyMask to validCocoaModifiers to enable function key usage in spectacle