Merge branch 'Lacrymology/mosto-backbone' into jmrunge/heartbeats
Renamed mosto.js to mosto-old.js (will delete it later) and mosto-backbone.js to mosto.js

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Moved the rest of the methods to promises

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed the way events emitter was created

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified forceCheckout event to send a window {from: to:}

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified clipStatus event to send only the current media

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Calling melted_medias.sync() instead of save() because save() does not exist on collections

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed backbone relational dependency

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed the way events emitter was created

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added temp function to convert API Playlist Object into Backbone Model/Collection

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added function to fetch playlists from driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed the way status was created to use new parameters from heartbeats and moved it to its own init function

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed heartbeats var name

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added listener for forceCheckout signal from heartbeats

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified initDriver to use new var name and Backbone models instead of fetcher

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified stopDriver to use new var names

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed startMvcpServer to do self=this

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Whitespace and out of place log

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

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified init to use new methods and models

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