[TIMOB-15983] Fold Titanium Diagnostic Test into CLI

https://jira.appcelerator.org/browse/TIMOB-15983
Is there any reason you're using `exec()` instead of `appc.subprocess.run()`?