Convinience function. It calls either initMaster or
initSlave depending on whether we have -m on the command line
or not. If -m is specified the following argument should be the
number of slaves to wait for.
Returns in the slave processes with the NC context.
Does not return in the master process.