[TIMOB-16425] Changes to CLI and build process

Related Jira tickets:
[TIMOB-16425](https://jira.appcelerator.org/browse/TIMOB-16425)
[TIMOB-14641](https://jira.appcelerator.org/browse/TIMOB-14641)
[TIMODOPEN-371](https://jira.appcelerator.org/browse/TIMODOPEN-371)
[TIMOB-16252](https://jira.appcelerator.org/browse/TIMOB-16252)
[TIMOB-16505](https://jira.appcelerator.org/browse/TIMOB-16505)