Use the recommended Gradle plugin version, not the latest version

Change-Id: I31c83dc951b69c46c8952bab9e9ce09b6973caa1
Merge "Use the recommended Gradle plugin version, not the latest version" into idea133
navigator: Show instrumentation test sources

Android instrumentation test sources are provided as part of
an extra source set. This CL incorporates those source sets when
computing the list of files to the Android Navigator view.

Currently, the test sources are actually merged along with
the regular sources. In a future CL, we can investigate making
this an option (possibly pulling out the tests and all source types
to be a separate node).

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

Change-Id: I93c7ef15af98e05c96bd15a6ed85f47bf843bc2b
navigator: Add jniLibs as an additional source type.

jniLibs was already part of the SourceProvider interface, but not
IdeaSourceProvider.

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

Change-Id: Ic39b093ef98df25598f49f915bc314ea5281666a
Merge changes Ic39b093e,I93c7ef15 into idea133

* changes:
  navigator: Add jniLibs as an additional source type.
  navigator: Show instrumentation test sources
Updates module creation to check for new APIs

This change updates the module creation paths to update their target/build
API levels if a new platform with a higher API level has been installed
during the wizard.

Change-Id: I28c8c931ffdc7b938ca780e649094f975d893542
Show licence agreement if missing SDK in new project wizard.

Bug: http://b.android.com/73242

Change-Id: I6f055f12878f7914a1e89987b8e08c78e5e13c20
Merge "Show licence agreement if missing SDK in new project wizard." into idea133
device panel and process chooser: Show user id if applicable

On a multi user device, append the user id to the process name
so as to allow distinguishing between the same packages running
on different accounts.

Fix for b/16701966

Change-Id: I247d7fa50845feda88a3040537e13ab167750b5e
Merge "device panel and process chooser: Show user id if applicable" into idea133
Parameter Validation: Improve existence detection

For template parameters which have the exists/unique constraints
we were not properly detecting items which were not declared in
named files (e.g. layout aliases). This change replaces the old
file-based detection method with proper calls to the resource repository
for the res folders inside a given source set.

If there isn't a facet available, we fall back to the file based
detection system.
Fixes https://code.google.com/p/android/issues/detail?id=74253
Change-Id: I879ee823bead63d5e3775ecf85a37e01cd6c32fa
Merge "Parameter Validation: Improve existence detection" into idea133
Make Android console toolbar consistent with run

1. Move the toolbar from the right of the console to the left.
2. Rearrange the actions to make sure they are in the same order as
   in other views.

Change-Id: I4a32cfaceb0fe6e930c0f6338bb763a10d77cfc8
Merge "Make Android console toolbar consistent with run" into idea133
Bug 70300: Clear logcat if no device is connected

Note that cleared content will reappear if device is connected again.
The reason for this is that the log is stored on the device and is
reread when the device is connected.

Change-Id: I0a22fc44f2ed5abe371bcac007299637344ba1d5
Merge "Bug 70300: Clear logcat if no device is connected" into idea133
navigator: Fix NPE that occurs when a psiFile becomes invalid

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

Change-Id: I62db28b2307599992ca11be192a781b681dead4b
Merge "navigator: Fix NPE that occurs when a psiFile becomes invalid" into idea133
Fix module import UI.

It is now possible to rename modules to import, including the
capability to use hierarchical Gradle names.
JTable was replaced with a custom UI to make the UI more detailed
and easier to navigate. Module-specific statuses are now always
shown, as opposed to tooltips used before.
Controller layer was refactored to make it more testable and to
handle edge cases better.

Change-Id: Ib7de2a5c662dc20470e773c914683762cbe64e3a
Added Suite runner that automatically includes all GUI tests.

Also, IdeTestApplication is automatically disposed:
- when all the GUI tests in a suite are executed
- all the methods in a test (that is not in a suite)
  are executed

Change-Id: I0f822721c78c65fdfcd6d3c31075a3a6d26c9a8e