Refactor code

See changes and commit messages :wink:
https://jenkins.catrob.at/job/Catroid-Multi-Job-Custom-Branch/570/

I changed all SoundManager for loops to for each loops. This is just a design decision but not a performance one. If we really need performance here, I will change it to for loops but also pull out the length and the media player for an extra boost ^^