Moved to timeouts and semaphore

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

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed sendStatus to use correctly getExpectedMedia

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed syncMelted to use the real error var

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed out of date TODO

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Emit Error and OutOfSync signals

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added @Lacrymology's merge of my branch

Merge branch 'jmrunge/heartbeats' of https://github.com/inaes-tic/mbc-mosto into jmrunge/heartbeats