Apply debugging restriction specified in tokens

The DRC app requires the privileged MANAGE_USERS permission; and thus it
must be installed as a system app to apply the debugging restrictions.
The app fails gracefully if the restriction cannot be applied.

Bug: 173734611
Test: Sign the app as a system app
Test: Place google-services.json in app/
Test: If using self-signed CA, place RootCA.pem in app/
Test: Set TOKEN_ISSUER_API_NAME in app/build.gradle
Test: Set TOKEN_ISSUER_HOST_NAME in app/build.gradle
Test: Get test credentials from valentine/#/show/1611079519238994
Test: Set envvars DRC_TEST_EMAIL and DRC_TEST_PASSWORD
Test: ./gradlew connectedAndroidTest
Test: ./gradlew createDebugCoverageReport

Change-Id: I8355cc21defb7442fdccd4958d57a4ca08e53dfb
3 files changed