Add support for gradle 1.4.0-beta3

This CL changes how we find original xml file.
Previously, it was a comment in the XML file. Now
it is another interface we can query (nicer).
This CL adds support for it but still keeps the
XML reference support.

Bug: 24408701
Change-Id: I0ac91b2f81f7264735f11d4ded154a2fd807e776
6 files changed