[TIMOB-15983] Fold Titanium Diagnostic Test into CLI

https://jira.appcelerator.org/browse/TIMOB-15983