Fix '~' on non-US keyboards.

Some methods from protocol `NSTextInputClient` weren't implemented, which would cause an exception to be raised on '~'. This adds the necessary "boilerplate" to restore that functionality.