Fix issue #37108191: CTS: ClipDataJobTest#testClipDataGrant failure

It was checking the wrong state of the permission, which just
happened to (often) work because it was racing with the job
finishing and the permission being ungranted.

Oh and also add a test for the feature to have URI permission
grants associated with the job work queue.

Test: this is one
Change-Id: I02d6069c3cafd39e6c11b29fa5fc6a86e98306c9
4 files changed