Implemented "mergeOnlyAttributes" feature.

This feature will allow merging only attributes from lower priority
manifest files ignoring all its children.

Added a target Id to records to help identifying the element or
attribute the record is about.

Change-Id: I37c0e9a3ef13f7364b733b4c8b7be2797de605e8
Add actually empty activity template

Fixes https://code.google.com/p/android/issues/detail?id=67513
Change-Id: I62497edfbaf6cfefbf735510300300651f3ad213
Fix false positives in the String format detector

This changeset fixes a couple of problems with false positives for the
string format detector.

First, the getString() method in SharedPreferences should not be
treated as a candidate for resource strings; this fixes issue 67597.

Second, when running the detector incrementally in an IDE, we ended up
creating a separate error for each translation in an XML folder,
meaning that when you hovered over the error you could see dozens of
lines of errors.

Third, when running incrementally, any string would be considered a
formatting string, not just strings containing '%' as is the case for
batch mode.

Finally, also fix a couple of infrastructure issues related to the
recently added type support: the .java visitor needs to call
prepareParse() in non-batch mode to ensure type attribution is
performed; the ECJ setup needs to set a couple of additional fields
related to the language compatibility mode (without this you can get
some weird errors related to generics), and finally make the unit test
infrastructure pass a valid compile SDK to the tests such that types
in android.jar can be resolved.

Change-Id: I3a92abe2e3c8deae8dee36ba497afca7902e0260
Merge "Fix false positives in the String format detector" into idea133
Update changelog.

Change-Id: I09a176750721074e2aa18ac80dc509b1ee109882
Merge "Update changelog." into idea133
Update API check unit test, don't require API 19 api-versions.xml file

Change-Id: Ib48669c6b603eb3f9ab2d790a32f74daefe0102a
Merge "Update API check unit test, don't require API 19 api-versions.xml file" into idea133
Update version to 22.7.3/0.9.3

Change-Id: Ib5788a4257ddcff55f0af09a7a4f3067f6f67817
Merge "Update version to 22.7.3/0.9.3" into idea133
Merge "Implemented "mergeOnlyAttributes" feature." into idea133
Merge "Add actually empty activity template" into idea133
Initial implementation of Selectors.

Selectors are so far based on Manifest's package attribute.
Soon invokers will be reponsible for providing a unique name for each
input xml file to merge and that name will be used.

Change-Id: Id7deb8137df6b3db0126afdbeef8781b961f5eaf
Merge "Initial implementation of Selectors." into idea133
Add a Google Maps activity template.

This does not include any special support for generating an API key.
Instructions for getting an API key are displayed to the user after
going through the template wizard.

The API key is kept in a resource file to allow for easier merging.
For example, if the user adds their API key and generates another map
activity, their API key should not be overwritten.

Change-Id: If7edf693686d61a4a1c75686a4add61fd2c2108a
Merge "Add a Google Maps activity template." into idea133
Fix Windows tests.

Because it's not always C:... /facepalm

Change-Id: I169f1a5427f0e02e8dccb150844beedd6d42e8e9
Change LocalSdk.Update.

Change-Id: Iacf4d89ea5c95eb0db8fe8d27ca4501951b0d458
Merge "Fix Windows tests." into idea133
Merge "Change LocalSdk.Update." into idea133