UploadDiagnostics how does it work and how to use that?

Please review the TR for this. If you still have issues figuring this out after giving it an honest go, I will take the time to write some stuff up.

-dan