Rework device policy user restrctions.

Removed the "global" and "local" restriction sets. All restrictions
set from the DPM are now stored as a single restriction set. "global"
restrictions are stored with the userID ALL_USERS.

Test: btest "android.devicepolicy.cts.UserRestrictionsTest"
Change-Id: I504b16bbbac99ac731580247b57f55a9b213609f
(cherry picked from commit d3ecb37848681a521f02014f0a808b87f126d5c3)
Merged-In: I504b16bbbac99ac731580247b57f55a9b213609f
5 files changed