Add methods to read keyboard input.

- Created KeyEvent class to store key code, state etc. of LWJGL Keyboard
  key events.
- Added getKeyEvents() to TestMain to return list of key events since
  the last time the keyboard was polled. This list can be passed to
  objects which allow keyboard input.