New stop and end-of-stream functionality

When stop is pressed once or the end of a stream is reached, the player
rewinds the file to the start or loads the next file if already
selected.

Pressing stop again really stops the player.
[cosmetics] Rename socket_handler to joystick_handler