player: Implement a playlist API and next/previous commands
@slomo
Submitted by Sebastian Dröge Link to original bug (#770331)
Description
See attached patch, and also following patch for gtk-play to make use of this.
Please review the new API and let me know if this makes any sense or could be
simplified somehow.