Moved old tests to old-tests dir

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added stopServer function to melted driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed old event from comment on heartbeats

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified stop funcion from heartbeats to stop next executions instead of next schedules
Added call to stopServer of mvcp driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Commented removeXml func because isnt working and makes mosto fails.  Pending refactor

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added handling of case when nothing is loaded into melted
Changed the way promises were chained

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed the way the params were passed for easier debug

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed the name of the event because of a bug in evenemitter

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed and added log messages

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

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed date calculations because of new way to store them (already in millis)

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed end to moment convertion

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added init and stop mvcp server funcions

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added call to initMvcpServer func on coll initialize

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Moved call to super.set inside promise

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Moved actual_order setting to inside promise because heartbeats uses it to sync melted

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added error handling to mvcp status call

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed fetch to use the write semaphore instead of the read

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added some todos and logs

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed mvcp server from core

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