Tells the rvm to relaunch the main application once upon a complete shutdown
Example
var application = fin.desktop.Application.getCurrent();
application.scheduleRestart(function () {
console.log("You will not read this.");
}, function (err) {
console.log("failure:", err);
});