Implement support library API generation and check in Gradle

A subsequent CL will remove the individual API check targets and switch
the update-support-api make target over to invoke the Gradle target.

Bug: 28124434
Change-Id: If2e810fdaede1cba06804cf892a306670c8ec595
4 files changed