Notify core and backend when audio playback fails

This updates PR #513 so that it can be merged and fixes the remaining review comments. This fixes #341 too, I think.

@adamcik Can you have a look at the "drop further GStreamer error messages on the floor until the next track is played" part that is missing?