Added ability to specify AndroidManifest.xml in androidTest dir

Users will now have the ability to customize their test application
AndroidManifest by adding a custom file in src/androidTest dir.

Change-Id: I3ce01c9424f6f9fec2c2fafc51bb1ccbd197cfe6
(cherry picked from commit a05ea9b49405656ac4ae83f5c6f5742bd00926cd)
Merge "Added ability to specify AndroidManifest.xml in androidTest dir" into idea133-milestone
Fix issue with abi split when there's no universal pkg.

The issue came from the process resource task that
generates the R class. Only one of the outputs' task
is setup to generate the R class, but it only
happened if an output had no filter for abi or density.

Now we just find the first one to not have a density filter
and use it.

Also, converted ndkSanAngeles sample to use the new split
mechanism.

Change-Id: I44becc559b90b53f77561c68020725e60daa749a
(cherry picked from commit b5356e851da8629e141c5f788020aa2e0fc552af)
Merge "Fix issue with abi split when there's no universal pkg." into idea133-milestone
Change java compile task to generic compile task in model

The previous model included a task to allow compiling
only up to the Java code for a given artifact. This did
not include native code, so the new model has a generic
compile task instead.

The old java compile task is still there for now but will be
removed in 1.0

Change-Id: I030a069130613fee5692123966d1acc1d0926996
(cherry picked from commit 3953d364fe332e4b834fd3cf9959f5b6db9a6846)
Merge "Change java compile task to generic compile task in model" into idea133-milestone
Fix test due to compile task change in the model.

Change-Id: Id9effc1f682ddd6d6b302bb077f354d81ab2b973
(cherry picked from commit d37946cc221efa506b9e8651d507ebb8ec6a39da)
Merge "Fix test due to compile task change in the model." into idea133-milestone