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.
This would be better as an `IntSet`, but we can even get away with using a `boolean[]` since we control the `Input.Keys` constants.