promisified recursiveModuleCompileToSingleFile. process.exit and console...

... errors happen now in command.js

This fixes #1267