Make Player control state-based

Remove local static variables, prefer private attributes
instead.
Tweak player jumping parameters for better jump animation.
TODO: Proper jumping with jump button hold.