Added vars to instanciate LoadedPlaylists only once

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added function to convert Time to Frames

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added initial heartbeats module

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

* Lacrymology/mosto-backbone:
  whitespace
  make sure all events are bubbled up
  move away from relational, doesn't do what we need
create semaphore to stop mosto from trying to sync melted while we're modifying it
make getServerPlaylist return a promise

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
load clips from melted on init
make getServerStatus return a promise

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
fetch at the end of init
after syncing with the playlist, I get the status, and process the collection further
easy answers
populate clips' start and end attributes

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