Add CTS test for app hibernation

Add CTS test for app hibernation that runs the hibernation job but
with a config to hibernate after a few seconds of disuse.

This also adds code coverage for hibernation code in
PermissionController.

Bug: 175830282
Test: atest AutoRevokeTest
Test: atest AppHibernationIntegrationTest

Change-Id: I9d495329941a91d915e44a9a77795c19ca1d2991
3 files changed