[TIMOB-12169] Create build log with compilation

Resolves https://jira.appcelerator.org/browse/TIMOB-12169
Oooooooh. That makes sense. Then we should move all this code to the main `cli/commands/build.js` so that it's only called once. My bad.