Now we show dialog to set JDK path when build fails due to wrong JDK.

In this CL:
- We show the "Select SDK" dialog (only showing the JDK path field) if
  a build fails when the IDE is using an invalid javaHome (I haven't
  been able to reproduce this issue and I don't know what
  Gradle considers as "invalid javaHome", I searched for it but I only
  got that setitng the JDK in the project settings dialog fixed it.)
- Adds ability to UI tests to simulate a build failure.

Fixes issue
https://code.google.com/p/android/issues/detail?id=74687

Change-Id: I5195eeaceb44244960b383a81c88d9229593cfc3
Make github download result accessible

Result contents need to be accessible outside
of the package

Change-Id: Ie0383673eaa2fb6c5aa89cc5a6bac9e844e91e5b
Merge "Make github download result accessible" into idea133
Merge "Now we show dialog to set JDK path when build fails due to wrong JDK." into idea133