Changed 'spawn' for 'exec' since 'spawn' wasnt getting the pid correctly

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added mosto a timeout to check if melted if running and to start it if it wasnt

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge pull request #116 from inaes-tic/jmrunge/logging

Merged #116
Added flat to core for controlling if melted should be restarted or not

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'master' into jmrunge/melted-restart

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

Conflicts:
	api/Melted.js
	mosto.js
Changed console.log for logger.debug

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge pull request #115 from inaes-tic/jmrunge/melted-restart

Merged #115
Added timeout config to melted driver

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

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Repaced spawn with exec because spawn fails randomly

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

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added melted profile to setup

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Retry loading models instead of throwing error

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'master' into jmrunge/stress-test

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

Conflicts:
	api/Melted.js
	models/Mosto.js