Fixes missing keycodes, cleans up & sorts existing ones. Take 2.
Added test case for Input.java keycodes to prevent further mixups.