Fix bluetooth and data enable with ProfileManager

Handle the case of system uid in AppOpsManager

Change-Id: I5f9c3ba2e2ed0b1c825b995bf2724066ae796bb4
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2