Add Input.isKeyJustPressed() method.

PR for issue #2200.

This adds the isKeyJustPressed(int) method similar to the justTouched() method to the Input class. It only returns true if the button has been pressed since the last call to render.