promisified recursiveModuleCompileToSingleFile

process.exit and console errors happen now in command.js

Fixes #1267