change algorithm to replace melted playlist

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use "out" instead of "length"

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
add test blank clip

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
don't forget to return our promises

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
change the playlists-pairing algorithm

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
move melted handling to set:

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use cleanPlaylist where needed

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
don't add playlist id to clips when getting them from melted

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
media.playlist might not be set up, if it's been got from melted

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
fix status sendign

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
Modified TODOs

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'Lacrymology/mosto-backbone' into jmrunge/heartbeats
Simplified load playlists algorythm

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Delegated goto and play to heartbeats

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Incremented timeout time

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Updated helpers to stop complain about encoding and not to use blank.xml

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>