promisified recursiveModuleCompileToSingleFile. process.exit and console...

... errors happen now in command.js

This fixes #1267
TODO: Make recursiveModuleCompile also use a promise