Compromise on style choices

Function expressions changed to function declarations.
Change how movement is controlled

Movement code was inside the Player class which would have caused all
players to be controlled by any client's user. I moved movement
functions into their own functions in the Player class and handled
keyboard input in the state.

All keyboard input should only be in states from now on.