Bug 1027232 - Restart b2g

I'd like to avoid Node specific stuff if I can :-)

I have seen setTimeout(callback, 0) elsewhere. MDN doesn't tell us that the delay is an optional parameter.