Repeat mode

As the title said, I implemented the repeat mode (none, song, all). The only missing part is the gui interaction, but you can test by changing the repeat attribute of the player in the init.