Adding PMKeyboardListener class which retains the latest state of the UIKeyboard.