Fixed keyboard stuttering

Fixed an issue where the keyboard would catch and hang.

Added InputMappper::GetButtonStateToggle(unsigned). This function simply
returns 1 if the button is pressed. No extra info about if the button
was pressed this frame or last frame. Good for keys you expect to be
held.