Test that apps permissions don't work accross users for uris.

Only uri grants should work accross users.

Also move code from the activity to the activity instrumentation.

BUG:17746554

Change-Id: I8702a427513b1e0f3f8055a527c5ef47d30af71c
6 files changed