Playlists refactor cont

test pages can be viewed here: http://kgit.html5video.org/pulls/958/docs/playlistApi