Added an isKeyPressed() method to the InputHandler to allow detection of
key "pulses/taps" as opposed to simply checking if the key is currently
pressed.