add support for pause keypress

The previous version supported a pause keypress. I have added it again as a separate function which still calls the 'play' command since the mac keyboard has a play/pause button. Mapping the pause command directly to the play command didn't seem 'right'. We could, if ever necessary, create a pause command and make it configurable or something. Depending on headset buttons of course.