Add runtime permissions CTS tests

In order to confirm the fix of b/28347872 we needed a CTS
test suite to make sure nothing is borken by the fix.

bug:28440521

Change-Id: I8e2bcd51287a38fec5794b007bcf64bbe8a807c3
17 files changed