Create AlarmManagerCompat shims

Create shims for newer AlarmManager methods, falling
back on the older equivalents. This allows developers
to use APIs such as the AndAllowWhileIdle methods that
will do the right thing on all API levels.

Note that this does not cover setWindow() as it does
not have a fallback equivalent.

Test: mmma frameworks/support, ./gradlew assemble

BUG: 24037777
Change-Id: I1eacebb3fba9a75c7d4608e9d7f4337414427dcc
5 files changed