[TIMOB-15983] Fold Titanium Diagnostic Test into CLI

https://jira.appcelerator.org/browse/TIMOB-15983
Also, what happens when you run this on Windows? Is it going to report that the URL cannot be reached because of a proxy issue or error because curl does not exists on Windows out-of-the-box?